Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") [: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.917/1.917, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001194/0.001194, allocations: 177.3 kB / 487 MB, free: 5.414 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.364/1.364, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 97.56 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.295e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2919, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.319, allocations: 447.9 MB / 1.643 GB, free: 8.219 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.319, allocations: 95.25 kB / 1.643 GB, free: 8.168 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.468/4.787, allocations: 1.001 GB / 2.644 GB, free: 194 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001804/4.787, allocations: 50.22 kB / 2.644 GB, free: 194 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004013/4.791, allocations: 2.126 MB / 2.646 GB, free: 193.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/4.791, allocations: 11.53 kB / 2.646 GB, free: 193.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/4.795, allocations: 0.8968 MB / 2.647 GB, free: 193.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/4.815, allocations: 9.143 MB / 2.656 GB, free: 192.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/4.815, allocations: 43.84 kB / 2.656 GB, free: 192.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/4.816, allocations: 75.86 kB / 2.656 GB, free: 192.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001825/4.817, allocations: 0.9497 MB / 2.657 GB, free: 192.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/4.819, allocations: 1.226 MB / 2.658 GB, free: 192.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/4.819, allocations: 5.219 kB / 2.658 GB, free: 192.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/4.819, allocations: 3.406 kB / 2.658 GB, free: 192.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/4.819, allocations: 50.94 kB / 2.658 GB, free: 192.4 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009629/4.829, allocations: 8.306 MB / 2.666 GB, free: 187.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/4.83, allocations: 0.6902 MB / 2.667 GB, free: 187.3 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/4.83, allocations: 391.4 kB / 2.667 GB, free: 187.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004517/4.835, allocations: 2.919 MB / 2.67 GB, free: 185.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/4.835, allocations: 417.5 kB / 2.671 GB, free: 185.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 3.426e-06/4.836, allocations: 0 / 2.671 GB, free: 185.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.002072/4.838, allocations: 0.8731 MB / 2.671 GB, free: 185.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/4.838, allocations: 58.84 kB / 2.672 GB, free: 185.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/4.839, allocations: 1.165 MB / 2.673 GB, free: 185.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/4.839, allocations: 25.7 kB / 2.673 GB, free: 185.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/4.84, allocations: 0.5935 MB / 2.673 GB, free: 185.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/4.84, allocations: 230.4 kB / 2.673 GB, free: 185 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/4.84, allocations: 3.844 kB / 2.673 GB, free: 185 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/4.84, allocations: 346 kB / 2.674 GB, free: 184.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/4.841, allocations: 326.2 kB / 2.674 GB, free: 184.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/4.841, allocations: 0.7437 MB / 2.675 GB, free: 184.1 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/4.842, allocations: 0.4952 MB / 2.675 GB, free: 184.1 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/4.842, allocations: 3.875 kB / 2.675 GB, free: 184.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002219/4.845, allocations: 1.211 MB / 2.677 GB, free: 184 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008196/4.845, allocations: 4.951 MB / 2.681 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/4.845, allocations: 15.03 kB / 2.681 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/4.845, allocations: 19.16 kB / 2.681 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/4.847, allocations: 306.8 kB / 2.682 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/4.847, allocations: 28.56 kB / 2.682 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/4.849, allocations: 203.8 kB / 2.682 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/4.849, allocations: 63.78 kB / 2.682 GB, free: 178.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/4.849, allocations: 3.844 kB / 2.682 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/4.851, allocations: 0.9878 MB / 2.683 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/4.851, allocations: 14.09 kB / 2.683 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/4.851, allocations: 22.94 kB / 2.683 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/4.852, allocations: 311.9 kB / 2.683 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/4.852, allocations: 30.19 kB / 2.683 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/4.853, allocations: 184.7 kB / 2.683 GB, free: 178.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.891e-05/4.853, allocations: 59.92 kB / 2.684 GB, free: 178.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.0002157/4.854, allocations: 150.3 kB / 2.684 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/4.854, allocations: 163 kB / 2.684 GB, free: 178.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/4.856, allocations: 1.177 MB / 2.685 GB, free: 178.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/4.856, allocations: 12.42 kB / 2.685 GB, free: 178.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/4.856, allocations: 0 / 2.685 GB, free: 178.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/4.858, allocations: 0.9983 MB / 2.686 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/4.862, allocations: 2.316 MB / 2.688 GB, free: 177.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/4.862, allocations: 3.656 kB / 2.688 GB, free: 177.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/4.863, allocations: 194.3 kB / 2.688 GB, free: 177.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/4.863, allocations: 10.5 kB / 2.688 GB, free: 177.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/4.863, allocations: 23.78 kB / 2.688 GB, free: 177.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/4.863, allocations: 3 kB / 2.688 GB, free: 177.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/4.863, allocations: 4.875 kB / 2.688 GB, free: 177.8 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00231/4.865, allocations: 1.542 MB / 2.69 GB, free: 177.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/4.866, allocations: 347.3 kB / 2.69 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/4.866, allocations: 6.938 kB / 2.69 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/4.867, allocations: 125.4 kB / 2.69 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/4.867, allocations: 51.73 kB / 2.69 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/4.867, allocations: 39.36 kB / 2.691 GB, free: 177.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001106/4.868, allocations: 0.8682 MB / 2.691 GB, free: 177.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003255/4.872, allocations: 0.9954 MB / 2.692 GB, free: 177 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.001794/4.873, allocations: 1.132 MB / 2.693 GB, free: 176.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.00213/4.876, allocations: 1.483 MB / 2.695 GB, free: 176.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/4.876, allocations: 3.5 kB / 2.695 GB, free: 176.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/4.876, allocations: 427.1 kB / 2.695 GB, free: 176.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/4.879, allocations: 0.6428 MB / 2.696 GB, free: 176.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/4.885, allocations: 2.783 MB / 2.699 GB, free: 176 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/4.886, allocations: 1.575 MB / 2.7 GB, free: 175.2 MB / 1.182 GB Notification: Performance of SimCode: time 4.41e-07/4.886, allocations: 3.562 kB / 2.7 GB, free: 175.2 MB / 1.182 GB Notification: Performance of Templates: time 0.05538/4.941, allocations: 39.97 MB / 2.739 GB, free: 174.4 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches