Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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 10.0.0-master/package.mo): time 1.937/1.937, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001113/0.001113, allocations: 193.2 kB / 490.8 MB, free: 1.902 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.348/1.348, allocations: 221.4 MB / 0.7863 GB, free: 13.4 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.0008332/0.0008332, allocations: 91.08 kB / 0.9264 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.453e-06/6.482e-06, allocations: 4 kB / 1.072 GB, free: 182.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2317, allocations: 143 MB / 1.212 GB, free: 39.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.677/0.9088, allocations: 154.7 MB / 1.363 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.9091, allocations: 90.33 kB / 1.363 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02236/0.9315, allocations: 8.233 MB / 1.371 GB, free: 16.84 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.502e-05/0.9315, allocations: 5.594 kB / 1.371 GB, free: 16.84 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008609/0.9324, allocations: 0.5466 MB / 1.371 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9324, allocations: 8.906 kB / 1.371 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.9326, allocations: 41.23 kB / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.9332, allocations: 333 kB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.9332, allocations: 9.844 kB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.9332, allocations: 15.88 kB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002694/0.9335, allocations: 124.2 kB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.9338, allocations: 156.6 kB / 1.372 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9338, allocations: 0 / 1.372 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.9338, allocations: 0.7969 kB / 1.372 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.9339, allocations: 5.531 kB / 1.372 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.9349, allocations: 0.6314 MB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.9353, allocations: 183.9 kB / 1.373 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.9354, allocations: 82.84 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.9354, allocations: 1.312 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.9356, allocations: 116.2 kB / 1.373 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/0.9356, allocations: 3.938 kB / 1.373 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003449/0.936, allocations: 166.7 kB / 1.373 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.936, allocations: 57.42 kB / 1.373 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.9364, allocations: 323.4 kB / 1.374 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.9364, allocations: 33.28 kB / 1.374 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.9365, allocations: 138 kB / 1.374 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.9366, allocations: 39.55 kB / 1.374 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.9366, allocations: 0 / 1.374 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9367, allocations: 341.9 kB / 1.374 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.9369, allocations: 100.6 kB / 1.374 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.9371, allocations: 138 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.9373, allocations: 105.2 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9373, allocations: 0 / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005198/0.9379, allocations: 283.2 kB / 1.375 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.9379, allocations: 9.406 kB / 1.375 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.9379, allocations: 4.562 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.9379, allocations: 2.719 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.9381, allocations: 39.5 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.9381, allocations: 3.156 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.9383, allocations: 37.12 kB / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.9384, allocations: 15.23 kB / 1.375 GB, free: 30.92 MB / 0.8386 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 0.0001113/0.9385, allocations: 118.7 kB / 1.375 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.9385, allocations: 23.56 kB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.9389, allocations: 203.3 kB / 1.375 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9389, allocations: 3 kB / 1.375 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9389, allocations: 0 / 1.375 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9389, allocations: 1.406 kB / 1.375 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.9392, allocations: 296.8 kB / 1.375 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9392, allocations: 1 kB / 1.375 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.9393, allocations: 22.3 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9393, allocations: 0 / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.9393, allocations: 4.172 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9393, allocations: 1.406 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9393, allocations: 0 / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002797/0.9396, allocations: 211.6 kB / 1.376 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.9397, allocations: 105.1 kB / 1.376 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.9398, allocations: 11.66 kB / 1.376 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.9399, allocations: 25.89 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.94, allocations: 36.09 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.94, allocations: 9.219 kB / 1.376 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000236/0.9403, allocations: 219.3 kB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003319/0.9406, allocations: 65.77 kB / 1.376 GB, free: 30.27 MB / 0.8386 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.0006513/0.9413, allocations: 329.4 kB / 1.376 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.9416, allocations: 196.5 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9416, allocations: 0 / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.9418, allocations: 87.36 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.9421, allocations: 43.11 kB / 1.377 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.9429, allocations: 367.9 kB / 1.377 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.9434, allocations: 0.819 MB / 1.378 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.9434, allocations: 0.875 kB / 1.378 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of Templates: time 0.008343/0.9517, allocations: 3.398 MB / 1.381 GB, free: 28.73 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches