Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") [: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.991/1.991, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001291/0.001291, allocations: 180.1 kB / 490.8 MB, free: 1.961 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.211/1.211, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009348/0.0009349, allocations: 95.8 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.943e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2199, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6741/0.894, allocations: 158.5 MB / 1.366 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.8943, allocations: 89.8 kB / 1.366 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04059/0.9349, allocations: 15.03 MB / 1.381 GB, free: 15.08 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.868e-05/0.9351, allocations: 15.38 kB / 1.381 GB, free: 15.08 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.00197/0.937, allocations: 0.9057 MB / 1.382 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.9371, allocations: 9.219 kB / 1.382 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.9375, allocations: 94.16 kB / 1.382 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/0.9384, allocations: 464.2 kB / 1.383 GB, free: 30 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-05/0.9385, allocations: 60.78 kB / 1.383 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.9386, allocations: 42.72 kB / 1.383 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007752/0.9394, allocations: 352.1 kB / 1.383 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.9404, allocations: 0.5678 MB / 1.384 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.9404, allocations: 1.281 kB / 1.384 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.9405, allocations: 2.531 kB / 1.384 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.9405, allocations: 15.22 kB / 1.384 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.9433, allocations: 2.581 MB / 1.386 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.9439, allocations: 324 kB / 1.386 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.9441, allocations: 160.5 kB / 1.387 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.9442, allocations: 15.91 kB / 1.387 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.9445, allocations: 238.4 kB / 1.387 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.816e-06/0.9445, allocations: 4 kB / 1.387 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0006423/0.9451, allocations: 314.5 kB / 1.387 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.9452, allocations: 217.6 kB / 1.387 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/0.946, allocations: 0.5213 MB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.9461, allocations: 49.81 kB / 1.388 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.9463, allocations: 271.7 kB / 1.388 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/0.9464, allocations: 112.5 kB / 1.388 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.9464, allocations: 0 / 1.388 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.9466, allocations: 377.3 kB / 1.389 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.9468, allocations: 132 kB / 1.389 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.9472, allocations: 354.1 kB / 1.389 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.9475, allocations: 146.6 kB / 1.389 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.9475, allocations: 5.938 kB / 1.389 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008985/0.9484, allocations: 488.5 kB / 1.39 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.9484, allocations: 9.312 kB / 1.39 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.9484, allocations: 9.516 kB / 1.39 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.9485, allocations: 15.44 kB / 1.39 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.9488, allocations: 83.3 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.9488, allocations: 13.12 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.9492, allocations: 59.16 kB / 1.39 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.9492, allocations: 30.53 kB / 1.39 GB, free: 25.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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 0.000153/0.9494, allocations: 157.9 kB / 1.39 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.9495, allocations: 65.41 kB / 1.39 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.9501, allocations: 342.9 kB / 1.39 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.9501, allocations: 10.78 kB / 1.39 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9502, allocations: 5.047 kB / 1.39 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.9502, allocations: 6 kB / 1.39 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.9514, allocations: 0.9146 MB / 1.391 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.9515, allocations: 1.375 kB / 1.391 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.9516, allocations: 40.44 kB / 1.391 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.9517, allocations: 7.562 kB / 1.391 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.9517, allocations: 8.297 kB / 1.391 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.9517, allocations: 7.938 kB / 1.391 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9517, allocations: 1.531 kB / 1.391 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006435/0.9524, allocations: 0.5114 MB / 1.392 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/0.9525, allocations: 139.1 kB / 1.392 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/0.9526, allocations: 12.39 kB / 1.392 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.9528, allocations: 30.09 kB / 1.392 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.953, allocations: 64.69 kB / 1.392 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.953, allocations: 16 kB / 1.392 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004092/0.9534, allocations: 379.8 kB / 1.392 GB, free: 24.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006016/0.954, allocations: 114 kB / 1.393 GB, free: 24.21 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0008147/0.9549, allocations: 388.3 kB / 1.393 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006336/0.9555, allocations: 380.6 kB / 1.393 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9555, allocations: 0 / 1.393 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.9558, allocations: 187.1 kB / 1.394 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.9563, allocations: 90.19 kB / 1.394 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.9579, allocations: 0.8365 MB / 1.394 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/0.9586, allocations: 1.02 MB / 1.395 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/0.9586, allocations: 0 / 1.395 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of Templates: time 0.01302/0.9716, allocations: 6.042 MB / 1.401 GB, free: 19.77 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches