Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.662/1.662, allocations: 390.4 MB / 397.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 174.5 kB / 490.8 MB, free: 11.24 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.027/1.027, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007192/0.0007193, allocations: 97.53 kB / 0.9264 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.193e-06, allocations: 4 kB / 1.072 GB, free: 15.59 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4515, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.5715, allocations: 148.8 MB / 1.357 GB, free: 42.86 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000144/0.5717, allocations: 64.64 kB / 1.357 GB, free: 42.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.00183/0.5735, allocations: 0.7735 MB / 1.358 GB, free: 42.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.5735, allocations: 0 / 1.358 GB, free: 42.04 MB / 0.8855 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.0001817/0.5737, allocations: 355.7 kB / 1.358 GB, free: 41.65 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.5738, allocations: 8.031 kB / 1.358 GB, free: 41.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.5738, allocations: 17.91 kB / 1.358 GB, free: 41.63 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.929e-05/0.5739, allocations: 175.1 kB / 1.358 GB, free: 41.42 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.5739, allocations: 4.75 kB / 1.358 GB, free: 41.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.5739, allocations: 7.938 kB / 1.358 GB, free: 41.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.406e-05/0.574, allocations: 36.7 kB / 1.358 GB, free: 41.37 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.97e-05/0.5741, allocations: 83.56 kB / 1.358 GB, free: 41.28 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.5741, allocations: 0 / 1.358 GB, free: 41.28 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.5741, allocations: 0.5312 kB / 1.358 GB, free: 41.28 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5741, allocations: 5.688 kB / 1.358 GB, free: 41.28 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.5745, allocations: 404.3 kB / 1.359 GB, free: 40.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 2.965e-05/0.5745, allocations: 37.94 kB / 1.359 GB, free: 40.79 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.5745, allocations: 19.22 kB / 1.359 GB, free: 40.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.5746, allocations: 0 / 1.359 GB, free: 40.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.006e-05/0.5746, allocations: 36.05 kB / 1.359 GB, free: 40.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.5746, allocations: 4 kB / 1.359 GB, free: 40.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001286/0.5747, allocations: 46.3 kB / 1.359 GB, free: 40.67 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.469e-05/0.5747, allocations: 77.7 kB / 1.359 GB, free: 40.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.5748, allocations: 113.5 kB / 1.359 GB, free: 40.46 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.5748, allocations: 26.27 kB / 1.359 GB, free: 40.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.5748, allocations: 109.1 kB / 1.359 GB, free: 40.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.5749, allocations: 11.91 kB / 1.359 GB, free: 40.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.5749, allocations: 0 / 1.359 GB, free: 40.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.125e-05/0.5749, allocations: 316.3 kB / 1.36 GB, free: 39.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.5749, allocations: 8 kB / 1.36 GB, free: 39.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/0.5749, allocations: 18.34 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.791e-05/0.575, allocations: 9.281 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.575, allocations: 0 / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.919e-05/0.575, allocations: 54.72 kB / 1.36 GB, free: 39.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.575, allocations: 4 kB / 1.36 GB, free: 39.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.575, allocations: 4 kB / 1.36 GB, free: 39.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.5751, allocations: 0.625 kB / 1.36 GB, free: 39.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.976e-05/0.5751, allocations: 7.156 kB / 1.36 GB, free: 39.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.5751, allocations: 0 / 1.36 GB, free: 39.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.5752, allocations: 8.875 kB / 1.36 GB, free: 39.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.5752, allocations: 7.938 kB / 1.36 GB, free: 39.86 MB / 0.8855 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 () * 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 3.085e-05/0.5752, allocations: 105.5 kB / 1.36 GB, free: 39.75 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.5752, allocations: 8.531 kB / 1.36 GB, free: 39.74 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.5753, allocations: 11.45 kB / 1.36 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5753, allocations: 1.469 kB / 1.36 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5753, allocations: 6.188 kB / 1.36 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5753, allocations: 3.984 kB / 1.36 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.5755, allocations: 440.8 kB / 1.36 GB, free: 39.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5755, allocations: 4.688 kB / 1.36 GB, free: 39.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.5755, allocations: 0 / 1.36 GB, free: 39.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5755, allocations: 5 kB / 1.36 GB, free: 39.24 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.5755, allocations: 3.984 kB / 1.36 GB, free: 39.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5756, allocations: 0.5625 kB / 1.36 GB, free: 39.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5756, allocations: 0 / 1.36 GB, free: 39.23 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.801e-05/0.5756, allocations: 86.81 kB / 1.36 GB, free: 39.12 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.5756, allocations: 86.88 kB / 1.36 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.5757, allocations: 4 kB / 1.36 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.667e-05/0.5757, allocations: 1 kB / 1.36 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.5757, allocations: 0 / 1.36 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.5757, allocations: 4.844 kB / 1.36 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.093e-05/0.5757, allocations: 107.2 kB / 1.36 GB, free: 38.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001616/0.5759, allocations: 4.688 kB / 1.36 GB, free: 38.91 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 () * 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 6.068e-05/0.576, allocations: 99.81 kB / 1.361 GB, free: 38.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.772e-05/0.576, allocations: 13.5 kB / 1.361 GB, free: 38.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.576, allocations: 0 / 1.361 GB, free: 38.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.5761, allocations: 5.5 kB / 1.361 GB, free: 38.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.448e-05/0.5761, allocations: 20.75 kB / 1.361 GB, free: 38.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.5763, allocations: 106 kB / 1.361 GB, free: 38.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.5764, allocations: 0.7042 MB / 1.361 GB, free: 37.91 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.5764, allocations: 0 / 1.361 GB, free: 37.91 MB / 0.8855 GB Notification: Performance of Templates: time 0.001595/0.578, allocations: 326.3 kB / 1.362 GB, free: 37.64 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches