Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onWSE.y|TEva_in.k|TCon_in.y|TSet.k|TSup.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onWSE.y|TEva_in.k|TCon_in.y|TSet.k|TSup.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") [: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.414/1.414, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.001338/0.001338, allocations: 177.1 kB / 316 MB, free: 3.59 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.556/1.556, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0009911/0.0009913, allocations: 95.33 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.672e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2245, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.643/1.868, allocations: 451.6 MB / 1.326 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000453/1.868, allocations: 99.22 kB / 1.326 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.259/6.128, allocations: 1.232 GB / 2.558 GB, free: 21.39 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004188/6.128, allocations: 77.02 kB / 2.558 GB, free: 21.32 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.00771/6.136, allocations: 2.939 MB / 2.561 GB, free: 18.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/6.136, allocations: 12.03 kB / 2.561 GB, free: 18.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/6.138, allocations: 0.5738 MB / 2.561 GB, free: 17.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007409/6.146, allocations: 3.392 MB / 2.564 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006841/6.146, allocations: 211 kB / 2.565 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/6.147, allocations: 107.9 kB / 2.565 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002961/6.15, allocations: 1.599 MB / 2.566 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/6.153, allocations: 1.78 MB / 2.568 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/6.153, allocations: 0 / 2.568 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/6.153, allocations: 8 kB / 2.568 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/6.153, allocations: 44 kB / 2.568 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/6.17, allocations: 11.07 MB / 2.579 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/6.171, allocations: 0.9377 MB / 2.58 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/6.173, allocations: 0.7521 MB / 2.581 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/6.174, allocations: 1.236 MB / 2.582 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/6.176, allocations: 0.7151 MB / 2.582 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 4.338e-06/6.176, allocations: 0 / 2.582 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.004656/6.18, allocations: 1.631 MB / 2.584 GB, free: 9.25 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/6.181, allocations: 307.7 kB / 2.584 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/6.184, allocations: 1.942 MB / 2.586 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003144/6.185, allocations: 37.69 kB / 2.586 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009945/6.186, allocations: 0.7144 MB / 2.587 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/6.186, allocations: 367.3 kB / 2.587 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/6.186, allocations: 0 / 2.587 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001762/6.187, allocations: 365.9 kB / 2.588 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/6.188, allocations: 0.6678 MB / 2.588 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/6.189, allocations: 1.089 MB / 2.589 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/6.191, allocations: 0.8832 MB / 2.59 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/6.191, allocations: 4 kB / 2.59 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005007/6.196, allocations: 2.203 MB / 2.592 GB, free: 404 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001117/6.197, allocations: 2.461 MB / 2.595 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/6.198, allocations: 8 kB / 2.595 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/6.198, allocations: 117.7 kB / 2.595 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/6.2, allocations: 359.5 kB / 2.595 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/6.202, allocations: 2.148 MB / 2.597 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/6.205, allocations: 302.5 kB / 2.598 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/6.206, allocations: 68.03 kB / 2.598 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/6.206, allocations: 6.5 kB / 2.598 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004156/6.21, allocations: 1.88 MB / 2.6 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/6.21, allocations: 15.98 kB / 2.6 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/6.21, allocations: 125.9 kB / 2.6 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/6.212, allocations: 363.5 kB / 2.6 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/6.215, allocations: 3.141 MB / 2.603 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/6.218, allocations: 250.8 kB / 2.603 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/6.219, allocations: 76.14 kB / 2.603 GB, free: 4.492 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006814/6.219, allocations: 182.2 kB / 2.604 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006554/6.22, allocations: 248.9 kB / 2.604 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005095/6.225, allocations: 1.976 MB / 2.606 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/6.225, allocations: 12 kB / 2.606 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/6.225, allocations: 0 / 2.606 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002951/6.228, allocations: 1.644 MB / 2.607 GB, free: 340 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5762/6.805, allocations: 4.317 MB / 2.612 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/6.805, allocations: 3.281 kB / 2.612 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/6.806, allocations: 238 kB / 2.612 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/6.806, allocations: 105.7 kB / 2.612 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.455e-05/6.806, allocations: 23.36 kB / 2.612 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/6.807, allocations: 2.122 MB / 2.614 GB, free: 183 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/6.807, allocations: 7.656 kB / 2.614 GB, free: 183 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004664/6.812, allocations: 2.922 MB / 2.617 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/6.814, allocations: 0.6029 MB / 2.618 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/6.814, allocations: 18.48 kB / 2.618 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/6.816, allocations: 173.1 kB / 2.618 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/6.816, allocations: 69.44 kB / 2.618 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/6.816, allocations: 61.52 kB / 2.618 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002496/6.819, allocations: 1.467 MB / 2.619 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00483/6.823, allocations: 1.332 MB / 2.621 GB, free: 182.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.x[1],WSE.heaExc.thrWayVal.filter.x[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/6.826, allocations: 1.258 MB / 2.622 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004573/6.83, allocations: 3.048 MB / 2.625 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/6.83, allocations: 0 / 2.625 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/6.831, allocations: 0.8611 MB / 2.626 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005825/6.837, allocations: 1.064 MB / 2.627 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008978/6.846, allocations: 3.844 MB / 2.63 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/6.848, allocations: 2.06 MB / 2.632 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.773e-06/6.848, allocations: 2.188 kB / 2.632 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.1124/6.961, allocations: 59.99 MB / 2.691 GB, free: 177.9 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches