Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [: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.95/1.95, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001014/0.001014, allocations: 185.2 kB / 490.8 MB, free: 1.922 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.274/1.274, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0009015/0.0009015, allocations: 96.75 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.213e-06/7.243e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6935/0.9399, allocations: 155.4 MB / 1.363 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.9402, allocations: 89.72 kB / 1.363 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02864/0.9689, allocations: 11.3 MB / 1.374 GB, free: 16.14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.922e-05/0.9689, allocations: 4.875 kB / 1.374 GB, free: 16.14 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008516/0.9698, allocations: 0.5905 MB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.9698, allocations: 8.719 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.97, allocations: 49.88 kB / 1.375 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.9707, allocations: 370.1 kB / 1.375 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.9707, allocations: 7.766 kB / 1.375 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.9708, allocations: 9.094 kB / 1.375 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001472/0.9709, allocations: 48.22 kB / 1.376 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.9711, allocations: 80.16 kB / 1.376 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.9711, allocations: 7.922 kB / 1.376 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.9711, allocations: 1 kB / 1.376 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.9711, allocations: 2.859 kB / 1.376 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.9719, allocations: 494.2 kB / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.9721, allocations: 81.86 kB / 1.376 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.9722, allocations: 30.73 kB / 1.376 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.9722, allocations: 5.969 kB / 1.376 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.9723, allocations: 76.05 kB / 1.376 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.9723, allocations: 0 / 1.376 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002871/0.9726, allocations: 133.7 kB / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.9727, allocations: 53.14 kB / 1.376 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.9734, allocations: 465.8 kB / 1.377 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.9734, allocations: 27.64 kB / 1.377 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.9735, allocations: 139.5 kB / 1.377 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.9736, allocations: 33.67 kB / 1.377 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.9736, allocations: 0 / 1.377 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9737, allocations: 358.2 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.9738, allocations: 58.89 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.974, allocations: 84.86 kB / 1.378 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.9742, allocations: 82.14 kB / 1.378 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.9742, allocations: 1.062 kB / 1.378 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004399/0.9747, allocations: 230.7 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9747, allocations: 5.719 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9747, allocations: 0 / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.9747, allocations: 5.062 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.9749, allocations: 37.92 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.975, allocations: 1.859 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.9751, allocations: 20.53 kB / 1.378 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.9752, allocations: 10.44 kB / 1.378 GB, free: 30.19 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.226e-05/0.9753, allocations: 109 kB / 1.378 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.9753, allocations: 44.42 kB / 1.378 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.9756, allocations: 144.2 kB / 1.378 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9756, allocations: 1.219 kB / 1.378 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9756, allocations: 8.656 kB / 1.378 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9756, allocations: 0.5156 kB / 1.378 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.9759, allocations: 295.2 kB / 1.379 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.9759, allocations: 0.5625 kB / 1.379 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.976, allocations: 13.42 kB / 1.379 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.976, allocations: 0 / 1.379 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.9761, allocations: 10.25 kB / 1.379 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.9761, allocations: 1.547 kB / 1.379 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.9761, allocations: 0.9062 kB / 1.379 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003008/0.9764, allocations: 202.9 kB / 1.379 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.9765, allocations: 117.5 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.9765, allocations: 5.234 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.9767, allocations: 7.125 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.9767, allocations: 11.61 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.9767, allocations: 7.891 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000409/0.9772, allocations: 344.5 kB / 1.379 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003061/0.9775, allocations: 66.47 kB / 1.379 GB, free: 29.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006989/0.9782, allocations: 356.1 kB / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.9784, allocations: 111.4 kB / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9784, allocations: 0 / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.9785, allocations: 39.05 kB / 1.38 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.9789, allocations: 54.92 kB / 1.38 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.9798, allocations: 495 kB / 1.38 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/0.9803, allocations: 0.8569 MB / 1.381 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/0.9803, allocations: 4 kB / 1.381 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.007117/0.9874, allocations: 2.903 MB / 1.384 GB, free: 27.53 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches