Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 165.1 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.2 MB / 0.7949 GB, free: 18.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008838/0.0008847, allocations: 96.33 kB / 0.9346 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 10.41 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2731, allocations: 142.3 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.4639, allocations: 148.8 MB / 1.368 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4642, allocations: 59.97 kB / 1.368 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003582/0.4678, allocations: 1.095 MB / 1.369 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.494e-06/0.4678, allocations: 0 / 1.369 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.4678, allocations: 4 kB / 1.369 GB, free: 3.375 MB / 0.8698 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.0004804/0.4683, allocations: 361.1 kB / 1.37 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.4684, allocations: 16.03 kB / 1.37 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.4685, allocations: 11.86 kB / 1.37 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.4687, allocations: 174.9 kB / 1.37 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4687, allocations: 4 kB / 1.37 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.4688, allocations: 12.2 kB / 1.37 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.469, allocations: 92.02 kB / 1.37 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.469, allocations: 7.875 kB / 1.37 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4691, allocations: 0 / 1.37 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4691, allocations: 7.984 kB / 1.37 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.4692, allocations: 39.92 kB / 1.37 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.4698, allocations: 456.5 kB / 1.37 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.371e-05/0.4699, allocations: 37.22 kB / 1.37 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.4699, allocations: 0 / 1.37 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4699, allocations: 34.59 kB / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4699, allocations: 0 / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.4701, allocations: 53.84 kB / 1.371 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4702, allocations: 85.05 kB / 1.371 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4703, allocations: 143.6 kB / 1.371 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.4704, allocations: 25.7 kB / 1.371 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.4704, allocations: 108 kB / 1.371 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.4705, allocations: 7.891 kB / 1.371 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.4705, allocations: 0 / 1.371 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4706, allocations: 322.8 kB / 1.371 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.4706, allocations: 12.06 kB / 1.371 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.4707, allocations: 17.72 kB / 1.371 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.4707, allocations: 7.953 kB / 1.371 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4707, allocations: 0 / 1.371 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.157e-05/0.4708, allocations: 65.53 kB / 1.371 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4708, allocations: 4 kB / 1.371 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4708, allocations: 4 kB / 1.371 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4709, allocations: 8.062 kB / 1.371 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.4709, allocations: 4 kB / 1.371 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4709, allocations: 0 / 1.371 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.471, allocations: 11.84 kB / 1.371 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.471, allocations: 0 / 1.371 GB, free: 1.047 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.257e-05/0.4711, allocations: 121.8 kB / 1.371 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.4712, allocations: 7.906 kB / 1.371 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.4712, allocations: 11.88 kB / 1.372 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4712, allocations: 0 / 1.372 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4712, allocations: 4 kB / 1.372 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4712, allocations: 0 / 1.372 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.4716, allocations: 478.7 kB / 1.372 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4716, allocations: 0 / 1.372 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.4716, allocations: 7.938 kB / 1.372 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4716, allocations: 0 / 1.372 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4717, allocations: 4 kB / 1.372 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4717, allocations: 0 / 1.372 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4717, allocations: 4.062 kB / 1.372 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.769e-05/0.4718, allocations: 91.56 kB / 1.372 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.4718, allocations: 88.95 kB / 1.372 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4718, allocations: 0 / 1.372 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.4719, allocations: 0 / 1.372 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.4719, allocations: 12.02 kB / 1.372 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.4719, allocations: 0 / 1.372 GB, free: 116 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001167/0.472, allocations: 121.6 kB / 1.372 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.472, allocations: 3.938 kB / 1.372 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001836/0.4722, allocations: 19.84 kB / 1.372 GB, free: 15.97 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.4723, allocations: 99.03 kB / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.748e-05/0.4724, allocations: 16 kB / 1.372 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4724, allocations: 4.125 kB / 1.372 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.4725, allocations: 7.938 kB / 1.372 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.4726, allocations: 4 kB / 1.372 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.473, allocations: 189.3 kB / 1.373 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.4732, allocations: 0.6965 MB / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.4733, allocations: 4.438 kB / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.4733, allocations: 11.44 kB / 1.373 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/0.4733, allocations: 0 / 1.373 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of Templates: time 0.00246/0.4758, allocations: 425.4 kB / 1.374 GB, free: 14.46 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches