Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") [: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.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009635/0.0009635, allocations: 185.2 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.114/1.114, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0009002/0.0009003, allocations: 107 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.621e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1831, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.6682, allocations: 153.3 MB / 1.355 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.6684, allocations: 83.97 kB / 1.355 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0195/0.6879, allocations: 8.141 MB / 1.363 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.6879, allocations: 4 kB / 1.363 GB, free: 13.42 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005081/0.6885, allocations: 0.5466 MB / 1.364 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.6885, allocations: 16.97 kB / 1.364 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.6886, allocations: 35.53 kB / 1.364 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.689, allocations: 331 kB / 1.364 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.689, allocations: 11.84 kB / 1.364 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.689, allocations: 19.94 kB / 1.364 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002039/0.6892, allocations: 128.7 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.6895, allocations: 150.3 kB / 1.364 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6895, allocations: 0 / 1.364 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.6895, allocations: 0 / 1.364 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6895, allocations: 4 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.6902, allocations: 0.6436 MB / 1.365 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.6905, allocations: 179.1 kB / 1.365 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.6906, allocations: 79.34 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.6907, allocations: 0 / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.6908, allocations: 114.8 kB / 1.365 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.6908, allocations: 0 / 1.365 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002502/0.6911, allocations: 172.8 kB / 1.365 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.6911, allocations: 59.34 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.6913, allocations: 324.6 kB / 1.366 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.6914, allocations: 29.7 kB / 1.366 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.6914, allocations: 136.2 kB / 1.366 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.6914, allocations: 44.95 kB / 1.366 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.6915, allocations: 0 / 1.366 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.6915, allocations: 340.7 kB / 1.366 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.6916, allocations: 99.92 kB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.6918, allocations: 144.2 kB / 1.366 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.692, allocations: 111.1 kB / 1.367 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.692, allocations: 0 / 1.367 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003959/0.6924, allocations: 283.4 kB / 1.367 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.6924, allocations: 14.67 kB / 1.367 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6924, allocations: 0 / 1.367 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.6924, allocations: 4 kB / 1.367 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.6926, allocations: 35.92 kB / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.6926, allocations: 0 / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.6928, allocations: 43.81 kB / 1.367 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.6928, allocations: 11.44 kB / 1.367 GB, free: 9.855 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 6.224e-05/0.6929, allocations: 114.5 kB / 1.367 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.6929, allocations: 26.91 kB / 1.367 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.6932, allocations: 191.2 kB / 1.367 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6932, allocations: 8 kB / 1.367 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6932, allocations: 0 / 1.367 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6932, allocations: 7.922 kB / 1.367 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.6934, allocations: 297.8 kB / 1.368 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6934, allocations: 0 / 1.368 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.969e-05/0.6935, allocations: 19.94 kB / 1.368 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6935, allocations: 3.938 kB / 1.368 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.6935, allocations: 7.984 kB / 1.368 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6935, allocations: 0 / 1.368 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6935, allocations: 0 / 1.368 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002116/0.6937, allocations: 209.7 kB / 1.368 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.6938, allocations: 104.4 kB / 1.368 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.6938, allocations: 4 kB / 1.368 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.6939, allocations: 23.97 kB / 1.368 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.694, allocations: 38.95 kB / 1.368 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.694, allocations: 7.984 kB / 1.368 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001529/0.6942, allocations: 218.2 kB / 1.368 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002547/0.6945, allocations: 66.84 kB / 1.368 GB, free: 8.656 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: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005232/0.695, allocations: 334.3 kB / 1.369 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.6953, allocations: 193.3 kB / 1.369 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6953, allocations: 4 kB / 1.369 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.6954, allocations: 79.92 kB / 1.369 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.6956, allocations: 41.56 kB / 1.369 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.6962, allocations: 377.2 kB / 1.369 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.6965, allocations: 0.8168 MB / 1.37 GB, free: 23.02 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.6965, allocations: 0 / 1.37 GB, free: 23.02 MB / 0.823 GB Notification: Performance of Templates: time 0.0053/0.7018, allocations: 3.386 MB / 1.373 GB, free: 19.69 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches