Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 249.4 MB / 256.7 MB, free: 7.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 192.3 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009984/0.0009984, allocations: 83.33 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.506e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2259, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6801/0.906, allocations: 139.8 MB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.9063, allocations: 88.06 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.02679/0.9331, allocations: 9.47 MB / 1.03 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.012e-05/0.9332, allocations: 16 kB / 1.03 GB, free: 7.387 MB / 0.6511 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.001241/0.9345, allocations: 0.6955 MB / 1.031 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.9345, allocations: 12.03 kB / 1.031 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.9347, allocations: 51.44 kB / 1.031 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.9354, allocations: 385.5 kB / 1.032 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.9354, allocations: 12 kB / 1.032 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.9355, allocations: 24 kB / 1.032 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000537/0.936, allocations: 249.5 kB / 1.032 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.9367, allocations: 333.8 kB / 1.032 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.9367, allocations: 3.938 kB / 1.032 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.9368, allocations: 7.984 kB / 1.032 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.9368, allocations: 12.66 kB / 1.032 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.9385, allocations: 1.055 MB / 1.033 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.939, allocations: 267.8 kB / 1.033 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.9392, allocations: 128.9 kB / 1.034 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-05/0.9393, allocations: 4 kB / 1.034 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.9396, allocations: 187 kB / 1.034 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/0.9396, allocations: 0 / 1.034 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0006058/0.9402, allocations: 272.4 kB / 1.034 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.9403, allocations: 117.2 kB / 1.034 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.9407, allocations: 352.8 kB / 1.035 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.9408, allocations: 36.08 kB / 1.035 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.9409, allocations: 161.6 kB / 1.035 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.41e-05/0.941, allocations: 92.52 kB / 1.035 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.941, allocations: 4 kB / 1.035 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9412, allocations: 355.8 kB / 1.035 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.9414, allocations: 112.1 kB / 1.035 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.9417, allocations: 227.8 kB / 1.035 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.9419, allocations: 117.7 kB / 1.036 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.942, allocations: 0 / 1.036 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006211/0.9426, allocations: 371.8 kB / 1.036 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9426, allocations: 4 kB / 1.036 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.9426, allocations: 7.906 kB / 1.036 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9426, allocations: 4 kB / 1.036 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.943, allocations: 74.33 kB / 1.036 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.943, allocations: 7.984 kB / 1.036 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.9434, allocations: 51.81 kB / 1.036 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.9434, allocations: 19.17 kB / 1.036 GB, free: 2.5 MB / 0.6511 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 0.000153/0.9436, allocations: 141.7 kB / 1.036 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.9436, allocations: 31.62 kB / 1.036 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/0.9443, allocations: 332.3 kB / 1.037 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.9443, allocations: 4 kB / 1.037 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9443, allocations: 3.938 kB / 1.037 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.9443, allocations: 3.984 kB / 1.037 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.9457, allocations: 0.8328 MB / 1.037 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.9457, allocations: 0 / 1.037 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.9459, allocations: 51.16 kB / 1.037 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.9459, allocations: 0 / 1.037 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.946, allocations: 7.984 kB / 1.037 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.946, allocations: 4 kB / 1.037 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-06/0.946, allocations: 3.906 kB / 1.037 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005393/0.9465, allocations: 395.5 kB / 1.038 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.9467, allocations: 119.8 kB / 1.038 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.9467, allocations: 3.562 kB / 1.038 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.9471, allocations: 43.95 kB / 1.038 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.9472, allocations: 54.48 kB / 1.038 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.9473, allocations: 19.86 kB / 1.038 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002674/0.9475, allocations: 249.3 kB / 1.038 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004849/0.948, allocations: 95 kB / 1.038 GB, free: 476 kB / 0.6511 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.0009026/0.9489, allocations: 383 kB / 1.039 GB, free: 180 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006255/0.9496, allocations: 353.2 kB / 1.039 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9496, allocations: 4 kB / 1.039 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.9498, allocations: 162.2 kB / 1.039 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.9503, allocations: 45.16 kB / 1.039 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.9514, allocations: 0.5059 MB / 1.04 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/0.9522, allocations: 0.8795 MB / 1.041 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.9522, allocations: 0 / 1.041 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.01144/0.9636, allocations: 5.628 MB / 1.046 GB, free: 8.875 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches