Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.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.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil") [: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.798/1.798, 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.0009317/0.0009317, allocations: 173.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.114/1.114, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.0008069/0.0008069, allocations: 106.9 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.144e-06/7.164e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1933, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4888/0.6822, allocations: 151.3 MB / 1.353 GB, free: 16.19 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.6824, allocations: 84.03 kB / 1.353 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01293/0.6953, allocations: 5.212 MB / 1.358 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.6954, allocations: 5.188 kB / 1.358 GB, free: 15.88 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006627/0.696, allocations: 0.5513 MB / 1.359 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6961, allocations: 9.938 kB / 1.359 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.6962, allocations: 38 kB / 1.359 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.6966, allocations: 312 kB / 1.359 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.6966, allocations: 7.281 kB / 1.359 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.6967, allocations: 20.44 kB / 1.359 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002723/0.697, allocations: 130.1 kB / 1.359 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.6973, allocations: 202.5 kB / 1.359 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.6973, allocations: 0.6562 kB / 1.359 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.6973, allocations: 0.8125 kB / 1.359 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.6973, allocations: 5.188 kB / 1.359 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.6984, allocations: 0.8272 MB / 1.36 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.6988, allocations: 147.7 kB / 1.36 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.6989, allocations: 71.22 kB / 1.361 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.6989, allocations: 1.375 kB / 1.361 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.6991, allocations: 98.58 kB / 1.361 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.6991, allocations: 0 / 1.361 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002933/0.6994, allocations: 141.5 kB / 1.361 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.6994, allocations: 84.05 kB / 1.361 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.6996, allocations: 212.8 kB / 1.361 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.6996, allocations: 33.7 kB / 1.361 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.6997, allocations: 152.3 kB / 1.361 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.6997, allocations: 42.89 kB / 1.361 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.6997, allocations: 0 / 1.361 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.6998, allocations: 332.7 kB / 1.362 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.6999, allocations: 65.53 kB / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.7, allocations: 114.7 kB / 1.362 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.7002, allocations: 70.25 kB / 1.362 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7002, allocations: 0 / 1.362 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003978/0.7006, allocations: 221.1 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.7007, allocations: 369.9 kB / 1.362 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.7007, allocations: 0 / 1.362 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7007, allocations: 8.797 kB / 1.362 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.7009, allocations: 38.97 kB / 1.362 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.7009, allocations: 4 kB / 1.362 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.7012, allocations: 73.39 kB / 1.362 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.7012, allocations: 14.27 kB / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-06/0.7013, allocations: 0 / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003397/0.7016, allocations: 170.7 kB / 1.363 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.7016, allocations: 0.75 kB / 1.363 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-06/0.7016, allocations: 11.94 kB / 1.363 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.7018, allocations: 29.11 kB / 1.363 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-06/0.7018, allocations: 0.75 kB / 1.363 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.702, allocations: 63.81 kB / 1.363 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.702, allocations: 13.56 kB / 1.363 GB, free: 12.85 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * 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 6.271e-05/0.7021, allocations: 116.3 kB / 1.363 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.7021, allocations: 23.72 kB / 1.363 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.7022, allocations: 20.28 kB / 1.363 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7022, allocations: 4 kB / 1.363 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.7022, allocations: 0 / 1.363 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7022, allocations: 1.078 kB / 1.363 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.7024, allocations: 279.9 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7024, allocations: 0 / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.7026, allocations: 38.11 kB / 1.363 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7026, allocations: 0.6094 kB / 1.363 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.7026, allocations: 4.703 kB / 1.363 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7026, allocations: 0.6094 kB / 1.363 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7026, allocations: 11.84 kB / 1.363 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001809/0.7028, allocations: 171.3 kB / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.7029, allocations: 101.6 kB / 1.363 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.7029, allocations: 0.75 kB / 1.364 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.703, allocations: 24.45 kB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.7031, allocations: 14.31 kB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.7031, allocations: 4.516 kB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.75e-05/0.7032, allocations: 160.7 kB / 1.364 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003226/0.7035, allocations: 100.6 kB / 1.364 GB, free: 11.94 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001277/0.7037, allocations: 120.1 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.7041, allocations: 306.5 kB / 1.364 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7041, allocations: 4 kB / 1.364 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.7042, allocations: 60.8 kB / 1.364 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.7044, allocations: 52.55 kB / 1.364 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.7051, allocations: 316.6 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.7054, allocations: 0.7899 MB / 1.365 GB, free: 26.48 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7054, allocations: 0 / 1.365 GB, free: 26.48 MB / 0.823 GB Notification: Performance of Templates: time 0.006279/0.7117, allocations: 4.063 MB / 1.369 GB, free: 22.82 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches