Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [: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.807/1.807, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001014/0.001014, allocations: 181.2 kB / 487 MB, free: 5.418 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.153/1.153, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0009047/0.0009046, allocations: 101.8 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.119e-06/5.149e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2169, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6109/0.8278, allocations: 153.8 MB / 1.355 GB, free: 16.21 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.8281, allocations: 94.39 kB / 1.356 GB, free: 16.21 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02106/0.8492, allocations: 8.469 MB / 1.364 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.444e-05/0.8493, allocations: 20.66 kB / 1.364 GB, free: 13.2 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007634/0.85, allocations: 0.6799 MB / 1.365 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.8501, allocations: 9.031 kB / 1.365 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.678e-05/0.8502, allocations: 55.34 kB / 1.365 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.8508, allocations: 476.9 kB / 1.365 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.8508, allocations: 13.2 kB / 1.365 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.8508, allocations: 19.91 kB / 1.365 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003722/0.8512, allocations: 215.1 kB / 1.365 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.8516, allocations: 335.8 kB / 1.366 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.8517, allocations: 3.938 kB / 1.366 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.8517, allocations: 0 / 1.366 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.8517, allocations: 16 kB / 1.366 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.8532, allocations: 1.502 MB / 1.367 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.8536, allocations: 253.6 kB / 1.367 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.8538, allocations: 104.9 kB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.8538, allocations: 7.938 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.8538, allocations: 38.44 kB / 1.367 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.8538, allocations: 0 / 1.367 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0004019/0.8542, allocations: 241.6 kB / 1.368 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.8543, allocations: 166 kB / 1.368 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.8546, allocations: 345.6 kB / 1.368 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.8547, allocations: 25.7 kB / 1.368 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.8547, allocations: 193.6 kB / 1.368 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.8548, allocations: 70.52 kB / 1.368 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.8548, allocations: 0 / 1.368 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.8549, allocations: 356.9 kB / 1.369 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.855, allocations: 81.06 kB / 1.369 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.8552, allocations: 176.6 kB / 1.369 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.8553, allocations: 95.92 kB / 1.369 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8553, allocations: 0 / 1.369 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003621/0.8557, allocations: 288.9 kB / 1.369 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.8557, allocations: 4 kB / 1.369 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8557, allocations: 4 kB / 1.369 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8557, allocations: 4 kB / 1.369 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.856, allocations: 75.2 kB / 1.369 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.856, allocations: 4 kB / 1.369 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.8563, allocations: 47.81 kB / 1.37 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.8563, allocations: 4 kB / 1.37 GB, free: 8.168 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: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * 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 7.975e-05/0.8564, allocations: 120.8 kB / 1.37 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.8565, allocations: 47.52 kB / 1.37 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.8566, allocations: 53.08 kB / 1.37 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8566, allocations: 0 / 1.37 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8566, allocations: 0 / 1.37 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8566, allocations: 3.984 kB / 1.37 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.857, allocations: 425.3 kB / 1.37 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.857, allocations: 0 / 1.37 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.8573, allocations: 67.89 kB / 1.37 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8573, allocations: 0 / 1.37 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.8573, allocations: 7.25 kB / 1.37 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8573, allocations: 4 kB / 1.37 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.8573, allocations: 0 / 1.37 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005177/0.8578, allocations: 483.8 kB / 1.371 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.858, allocations: 156.6 kB / 1.371 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.858, allocations: 3.906 kB / 1.371 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.8583, allocations: 35.97 kB / 1.371 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.8584, allocations: 23.22 kB / 1.371 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.8584, allocations: 8 kB / 1.371 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002125/0.8586, allocations: 262.6 kB / 1.371 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003094/0.8589, allocations: 71.69 kB / 1.371 GB, free: 6.723 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0001168/0.8591, allocations: 104.6 kB / 1.371 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.8594, allocations: 217 kB / 1.372 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8594, allocations: 0 / 1.372 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.8596, allocations: 113.7 kB / 1.372 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.8601, allocations: 95.23 kB / 1.372 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.8611, allocations: 0.505 MB / 1.372 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.8614, allocations: 0.8651 MB / 1.373 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.8614, allocations: 0 / 1.373 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of Templates: time 0.007425/0.8689, allocations: 4.552 MB / 1.378 GB, free: 0.5352 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches