Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [: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 9.1.1-maint.9.1.x/package.mo): time 1.919/1.919, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001257/0.001257, allocations: 180.8 kB / 487 MB, free: 5.363 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.35/1.35, allocations: 221.3 MB / 0.7819 GB, free: 58.54 MB / 0.6355 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 98.06 kB / 0.9213 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.464e-06, allocations: 2.031 kB / 1.066 GB, free: 202.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 142.3 MB / 1.205 GB, free: 99 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.407, allocations: 155.2 MB / 1.357 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4074, allocations: 87.94 kB / 1.357 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.03651/0.4439, allocations: 13.64 MB / 1.37 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.27e-05/0.444, allocations: 19.88 kB / 1.37 GB, free: 9.742 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008393/0.4448, allocations: 0.6788 MB / 1.371 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.4449, allocations: 12.53 kB / 1.371 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.563e-05/0.445, allocations: 63.25 kB / 1.371 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.4457, allocations: 435.9 kB / 1.371 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.4457, allocations: 4 kB / 1.371 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4457, allocations: 8 kB / 1.371 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000154/0.4459, allocations: 64.34 kB / 1.371 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.4461, allocations: 131.1 kB / 1.372 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4461, allocations: 4 kB / 1.372 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.4461, allocations: 3.984 kB / 1.372 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4462, allocations: 4 kB / 1.372 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008797/0.447, allocations: 0.5599 MB / 1.372 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.4472, allocations: 110.8 kB / 1.372 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.4473, allocations: 44.84 kB / 1.372 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.4474, allocations: 0 / 1.372 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.4475, allocations: 111.2 kB / 1.372 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.4475, allocations: 0 / 1.372 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0003096/0.4478, allocations: 157 kB / 1.372 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.4479, allocations: 81.09 kB / 1.373 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.4486, allocations: 0.5815 MB / 1.373 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.4486, allocations: 33.69 kB / 1.373 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.4487, allocations: 148.3 kB / 1.373 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.4487, allocations: 43.55 kB / 1.373 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.4488, allocations: 0 / 1.373 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4489, allocations: 371 kB / 1.374 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4491, allocations: 75.98 kB / 1.374 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.4492, allocations: 122.8 kB / 1.374 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.4495, allocations: 93 kB / 1.374 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4495, allocations: 0 / 1.374 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004881/0.45, allocations: 281.7 kB / 1.374 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.45, allocations: 4 kB / 1.374 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.45, allocations: 0 / 1.374 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.45, allocations: 4 kB / 1.374 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.4502, allocations: 31.97 kB / 1.374 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4502, allocations: 4 kB / 1.374 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.4504, allocations: 27.89 kB / 1.374 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.4504, allocations: 12 kB / 1.374 GB, free: 5.254 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.711e-05/0.4505, allocations: 114.7 kB / 1.374 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.4506, allocations: 59.19 kB / 1.375 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.4509, allocations: 193.5 kB / 1.375 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4509, allocations: 3.984 kB / 1.375 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4509, allocations: 0 / 1.375 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4509, allocations: 0 / 1.375 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.4513, allocations: 353.8 kB / 1.375 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4513, allocations: 0 / 1.375 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.4513, allocations: 16 kB / 1.375 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4513, allocations: 4 kB / 1.375 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4514, allocations: 0 / 1.375 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4514, allocations: 0 / 1.375 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4514, allocations: 0 / 1.375 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002532/0.4516, allocations: 208.3 kB / 1.375 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4518, allocations: 140.3 kB / 1.375 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.4518, allocations: 8 kB / 1.375 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.452, allocations: 11.98 kB / 1.375 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.452, allocations: 23.97 kB / 1.375 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.452, allocations: 4 kB / 1.375 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0005137/0.4526, allocations: 439.1 kB / 1.376 GB, free: 3.621 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003452/0.4529, allocations: 79.83 kB / 1.376 GB, free: 3.543 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007704/0.4537, allocations: 371.7 kB / 1.376 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.454, allocations: 151.6 kB / 1.376 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.454, allocations: 3.938 kB / 1.376 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.4541, allocations: 55.98 kB / 1.376 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.4546, allocations: 74.84 kB / 1.377 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4557, allocations: 0.5999 MB / 1.377 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.4562, allocations: 0.9031 MB / 1.378 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/0.4563, allocations: 0 / 1.378 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of Templates: time 0.009051/0.4653, allocations: 3.975 MB / 1.382 GB, free: 13.5 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches