Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") [: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.812/1.812, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009242/0.0009242, allocations: 181.3 kB / 487 MB, free: 5.359 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.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0008167/0.0008167, allocations: 99.05 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.612e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1967, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5099/0.7066, allocations: 151.1 MB / 1.353 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.7068, allocations: 70.7 kB / 1.353 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02172/0.7286, allocations: 9.404 MB / 1.362 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.643e-05/0.7286, allocations: 15.94 kB / 1.362 GB, free: 14.21 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001138/0.7298, allocations: 0.8782 MB / 1.363 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.7298, allocations: 9.031 kB / 1.363 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.7299, allocations: 86.95 kB / 1.363 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.7307, allocations: 0.5501 MB / 1.364 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.7307, allocations: 20 kB / 1.364 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.222e-05/0.7308, allocations: 48 kB / 1.364 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005701/0.7314, allocations: 370 kB / 1.364 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.7321, allocations: 0.5103 MB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7321, allocations: 0 / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.7321, allocations: 0 / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.7321, allocations: 23.89 kB / 1.364 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.7341, allocations: 1.81 MB / 1.366 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.7347, allocations: 458.2 kB / 1.367 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.735, allocations: 229 kB / 1.367 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.735, allocations: 4.719 kB / 1.367 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.7353, allocations: 252.6 kB / 1.367 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=51): time 1.773e-06/0.7354, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51): time 0.0005375/0.7359, allocations: 407 kB / 1.368 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.7359, allocations: 110.3 kB / 1.368 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.7362, allocations: 351.8 kB / 1.368 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.7363, allocations: 41.5 kB / 1.368 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.7364, allocations: 250 kB / 1.368 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.7364, allocations: 139.8 kB / 1.368 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.7365, allocations: 0 / 1.368 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.7365, allocations: 360.6 kB / 1.369 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.7367, allocations: 137.2 kB / 1.369 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.737, allocations: 260.2 kB / 1.369 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.7372, allocations: 160.8 kB / 1.369 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7372, allocations: 0 / 1.369 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005147/0.7377, allocations: 426.5 kB / 1.37 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.7378, allocations: 0.6179 MB / 1.37 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7378, allocations: 0 / 1.37 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.7378, allocations: 8 kB / 1.37 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.7381, allocations: 87.27 kB / 1.37 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.7381, allocations: 11.91 kB / 1.37 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.7385, allocations: 71.73 kB / 1.37 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.7385, allocations: 19.55 kB / 1.37 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/0.7385, allocations: 7.906 kB / 1.37 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004277/0.739, allocations: 337 kB / 1.371 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.739, allocations: 4 kB / 1.371 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.739, allocations: 4 kB / 1.371 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.7392, allocations: 77.53 kB / 1.371 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.7392, allocations: 4 kB / 1.371 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.7395, allocations: 59.73 kB / 1.371 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.7395, allocations: 15.31 kB / 1.371 GB, free: 6.785 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.conLoo.disCoo.u,$PRE.conLoo.disHea.u,$whenCondition4,$PRE.conLoo.disHea.t_next,$whenCondition1,$PRE.conLoo.disCoo.t_next,conLoo.disHea.t_next,conLoo.disCoo.t_next,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$PRE.conLoo.enaHeaLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,$PRE.conLoo.enaCooLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.u,conLoo.disCoo.y,conLoo.disHea.u,conLoo.disHea.y,$PRE.conLoo.zerCon.lesHys.y,conLoo.zerCon.lesHys.y,$PRE.conLoo.zerCon1.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.32e-05/0.7396, allocations: 134.5 kB / 1.371 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.7397, allocations: 51.44 kB / 1.371 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-05/0.7398, allocations: 54.95 kB / 1.371 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.7398, allocations: 7.906 kB / 1.371 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7398, allocations: 0 / 1.371 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.7398, allocations: 3.984 kB / 1.371 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7409, allocations: 1.125 MB / 1.372 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7409, allocations: 0 / 1.372 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.7412, allocations: 75.45 kB / 1.372 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.7412, allocations: 0 / 1.372 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.7413, allocations: 7.984 kB / 1.372 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7413, allocations: 3.938 kB / 1.372 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7413, allocations: 11.94 kB / 1.372 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007769/0.7421, allocations: 0.7251 MB / 1.373 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.7421, allocations: 131.2 kB / 1.373 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.7422, allocations: 7.375 kB / 1.373 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.7425, allocations: 59.94 kB / 1.373 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.7426, allocations: 51.41 kB / 1.373 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.7427, allocations: 27.11 kB / 1.373 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001878/0.7429, allocations: 258.8 kB / 1.374 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004636/0.7433, allocations: 199 kB / 1.374 GB, free: 4.492 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conLoo.cooCon.I.y,conLoo.heaCon.I.y) * Number of discrete variables: 20 (conLoo.disCoo.u,conLoo.disHea.u,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,conLoo.enaHeaLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.y,conLoo.disCoo.t_next,conLoo.disHea.y,conLoo.disHea.t_next,conLoo.zerCon.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 6 (conLoo.disHea.t_next,conLoo.disCoo.t_next,conLoo.zerCon1.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,conLoo.zerCon.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * 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.0001314/0.7435, allocations: 133.3 kB / 1.374 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007145/0.7442, allocations: 0.604 MB / 1.375 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7442, allocations: 0 / 1.375 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.7445, allocations: 238.4 kB / 1.375 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.7449, allocations: 86.75 kB / 1.375 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.746, allocations: 0.7217 MB / 1.376 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.7464, allocations: 0.9566 MB / 1.376 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of SimCode: time 2.61e-07/0.7464, allocations: 0 / 1.376 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of Templates: time 0.01248/0.7589, allocations: 8.094 MB / 1.384 GB, free: 10.12 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches