Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") [: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.672/1.672, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009838/0.0009839, allocations: 185.6 kB / 490.8 MB, free: 11.22 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.053/1.053, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 82.5 kB / 0.9264 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 4.669e-06/4.689e-06, allocations: 0 / 1.072 GB, free: 15.61 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4707, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.6019, allocations: 157.5 MB / 1.365 GB, free: 34.14 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.6022, allocations: 91.94 kB / 1.365 GB, free: 34.05 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.02018/0.6224, allocations: 9.656 MB / 1.375 GB, free: 24.49 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.6224, allocations: 8 kB / 1.375 GB, free: 24.48 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000763/0.6232, allocations: 0.7042 MB / 1.376 GB, free: 23.73 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.511e-05/0.6232, allocations: 11.97 kB / 1.376 GB, free: 23.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.6233, allocations: 49.22 kB / 1.376 GB, free: 23.67 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.6237, allocations: 383.5 kB / 1.376 GB, free: 23.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.6237, allocations: 16 kB / 1.376 GB, free: 23.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.6238, allocations: 23.98 kB / 1.376 GB, free: 23.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003753/0.6242, allocations: 254 kB / 1.376 GB, free: 22.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.6246, allocations: 338.9 kB / 1.377 GB, free: 22.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6246, allocations: 0 / 1.377 GB, free: 22.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.6247, allocations: 0.7812 kB / 1.377 GB, free: 22.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.6247, allocations: 16.56 kB / 1.377 GB, free: 22.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.6259, allocations: 1.047 MB / 1.378 GB, free: 21.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.6262, allocations: 270.5 kB / 1.378 GB, free: 21.25 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.6264, allocations: 126.1 kB / 1.378 GB, free: 21.13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.6264, allocations: 8 kB / 1.378 GB, free: 21.12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.6267, allocations: 195.7 kB / 1.378 GB, free: 20.92 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/0.6267, allocations: 0 / 1.378 GB, free: 20.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.0004089/0.6271, allocations: 271.4 kB / 1.379 GB, free: 20.65 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.6271, allocations: 116.3 kB / 1.379 GB, free: 20.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.6274, allocations: 339.2 kB / 1.379 GB, free: 20.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.6274, allocations: 42.42 kB / 1.379 GB, free: 20.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.6275, allocations: 172.7 kB / 1.379 GB, free: 19.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.6276, allocations: 87.66 kB / 1.379 GB, free: 19.87 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.6276, allocations: 0 / 1.379 GB, free: 19.87 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.6276, allocations: 355.8 kB / 1.38 GB, free: 19.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.6278, allocations: 117 kB / 1.38 GB, free: 19.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.628, allocations: 215.8 kB / 1.38 GB, free: 19.16 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.6282, allocations: 126.8 kB / 1.38 GB, free: 19.04 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6282, allocations: 0.8438 kB / 1.38 GB, free: 19.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004893/0.6287, allocations: 375.8 kB / 1.38 GB, free: 18.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.6287, allocations: 4 kB / 1.38 GB, free: 18.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6287, allocations: 0.6875 kB / 1.38 GB, free: 18.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6288, allocations: 8 kB / 1.38 GB, free: 18.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.6291, allocations: 69.83 kB / 1.38 GB, free: 18.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6291, allocations: 8.594 kB / 1.38 GB, free: 18.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.6294, allocations: 64.36 kB / 1.381 GB, free: 18.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.6294, allocations: 20 kB / 1.381 GB, free: 18.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 9.286e-05/0.6295, allocations: 135.3 kB / 1.381 GB, free: 18.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.6295, allocations: 39.52 kB / 1.381 GB, free: 18.32 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.63, allocations: 323.2 kB / 1.381 GB, free: 18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.63, allocations: 4 kB / 1.381 GB, free: 18 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.63, allocations: 4 kB / 1.381 GB, free: 17.99 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.63, allocations: 0 / 1.381 GB, free: 17.99 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.631, allocations: 0.8344 MB / 1.382 GB, free: 17.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.631, allocations: 2 kB / 1.382 GB, free: 17.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.6312, allocations: 55.86 kB / 1.382 GB, free: 17.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6312, allocations: 4 kB / 1.382 GB, free: 17.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.6312, allocations: 6.094 kB / 1.382 GB, free: 17.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6312, allocations: 4 kB / 1.382 GB, free: 17.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6312, allocations: 0 / 1.382 GB, free: 17.05 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003915/0.6316, allocations: 386.8 kB / 1.382 GB, free: 16.65 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.6317, allocations: 128.6 kB / 1.382 GB, free: 16.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.6318, allocations: 7.984 kB / 1.382 GB, free: 16.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.632, allocations: 43.95 kB / 1.382 GB, free: 16.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6321, allocations: 55.91 kB / 1.382 GB, free: 16.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.6322, allocations: 12 kB / 1.383 GB, free: 16.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0001741/0.6324, allocations: 251.1 kB / 1.383 GB, free: 16.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003353/0.6327, allocations: 107.8 kB / 1.383 GB, free: 16.04 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005641/0.6333, allocations: 354.4 kB / 1.383 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.6337, allocations: 351.7 kB / 1.384 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.6337, allocations: 0 / 1.384 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.6339, allocations: 167.4 kB / 1.384 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.6342, allocations: 52.52 kB / 1.384 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.635, allocations: 0.5049 MB / 1.384 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.6354, allocations: 0.8663 MB / 1.385 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.6354, allocations: 4 kB / 1.385 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of Templates: time 0.007722/0.6431, allocations: 5.63 MB / 1.391 GB, free: 8.34 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches