Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 199.2 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6322, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002152/0.6344, allocations: 0.8742 MB / 0.9504 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001012/0.6345, allocations: 44.22 kB / 0.9505 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.6346, allocations: 6.188 kB / 0.9505 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.6346, allocations: 7.922 kB / 0.9505 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.6347, allocations: 1.25 kB / 0.9505 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.033e-05/0.6348, allocations: 14.62 kB / 0.9505 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.966e-05/0.6349, allocations: 62.84 kB / 0.9506 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.635, allocations: 43.17 kB / 0.9506 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.6351, allocations: 19.55 kB / 0.9506 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.6351, allocations: 28.05 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.6352, allocations: 4.469 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.6352, allocations: 3.281 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.6352, allocations: 18.08 kB / 0.9507 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.6353, allocations: 34.2 kB / 0.9507 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.827e-05/0.6353, allocations: 56.36 kB / 0.9508 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6353, allocations: 1.375 kB / 0.9508 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6354, allocations: 0 / 0.9508 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6354, allocations: 4 kB / 0.9508 GB, free: 8.207 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003872/0.6358, allocations: 375.1 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6358, allocations: 10 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.6358, allocations: 9.656 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.636, allocations: 198.5 kB / 0.9513 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.636, allocations: 7.594 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.6361, allocations: 4.406 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.6362, allocations: 98.86 kB / 0.9514 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6362, allocations: 192 / 0.9514 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6363, allocations: 7.938 kB / 0.9515 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6363, allocations: 1.844 kB / 0.9515 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.6363, allocations: 35.7 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.6368, allocations: 438.3 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/0.6369, allocations: 41.22 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.6369, allocations: 19.53 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.6369, allocations: 0 / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.6369, allocations: 31.88 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.6369, allocations: 4 kB / 0.952 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.6371, allocations: 62.86 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.6371, allocations: 78.42 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.6373, allocations: 162.7 kB / 0.9523 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.6373, allocations: 27.17 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.6373, allocations: 108 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-06/0.6373, allocations: 13.33 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.6374, allocations: 17.09 kB / 0.9525 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.6374, allocations: 321.2 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.6374, allocations: 10.75 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.6375, allocations: 14.53 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.6375, allocations: 31.81 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6375, allocations: 0 / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.45e-05/0.6376, allocations: 63.25 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6376, allocations: 6.875 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6376, allocations: 3.938 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6376, allocations: 0 / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.6377, allocations: 6.844 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.6377, allocations: 3.938 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.6378, allocations: 7.156 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.6378, allocations: 0 / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.6378, allocations: 121.8 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.6379, allocations: 12 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.6379, allocations: 10.69 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6379, allocations: 1.531 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6379, allocations: 0 / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.638, allocations: 1.312 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.6382, allocations: 474 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6382, allocations: 64 / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.6383, allocations: 12.17 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6383, allocations: 0 / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.6383, allocations: 1.344 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6383, allocations: 0 / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6383, allocations: 1.531 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.169e-05/0.6384, allocations: 78.72 kB / 0.9536 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.6384, allocations: 99.69 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.6384, allocations: 1.5 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.6384, allocations: 0 / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.6385, allocations: 1.25 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.6385, allocations: 1.406 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.009e-05/0.6385, allocations: 120.5 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6385, allocations: 0 / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001819/0.6387, allocations: 6.875 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001093/0.6388, allocations: 109.1 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.059e-05/0.6389, allocations: 18.94 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6389, allocations: 0 / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.639, allocations: 4.125 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.6391, allocations: 12.06 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.6394, allocations: 215.6 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.6395, allocations: 0.6916 MB / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.6396, allocations: 11.38 kB / 0.9548 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.6396, allocations: 0 / 0.9548 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.002199/0.6418, allocations: 0.8596 MB / 0.9557 GB, free: 3.609 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches