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.ElectricChillerParallel.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.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiPar.chi.1..TSet|chiPar.chi.1..TEvaEnt|chiPar.chi.1..TEvaLvg|chiPar.chi.1..TConEnt|chiPar.chi.1..TConLvg|chiPar.chi.2..TSet|chiPar.chi.2..TEvaEnt|chiPar.chi.2..TEvaLvg|chiPar.chi.2..TConEnt|chiPar.chi.2..TConLvg|chiPar.chi.2..PLR1|chiPar.chi.2..PLR2|chiPar.chi.2..CR|chiPar.chi.1..COP|chiPar.chi.2..COP",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiPar.chi.1..TSet|chiPar.chi.1..TEvaEnt|chiPar.chi.1..TEvaLvg|chiPar.chi.1..TConEnt|chiPar.chi.1..TConLvg|chiPar.chi.2..TSet|chiPar.chi.2..TEvaEnt|chiPar.chi.2..TEvaLvg|chiPar.chi.2..TConEnt|chiPar.chi.2..TConLvg|chiPar.chi.2..PLR1|chiPar.chi.2..PLR2|chiPar.chi.2..CR|chiPar.chi.1..COP|chiPar.chi.2..COP",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel") [: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.453/1.453, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.001231/0.001231, allocations: 181.2 kB / 316 MB, free: 3.504 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.681/1.681, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.001124/0.001125, allocations: 91.25 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.128e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2493, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/1.649, allocations: 439.6 MB / 1.314 GB, free: 307.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.649, allocations: 110.4 kB / 1.314 GB, free: 307.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.794/6.443, allocations: 1.311 GB / 2.624 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008189/6.444, allocations: 97.72 kB / 2.625 GB, free: 104.6 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.013/6.457, allocations: 3.608 MB / 2.628 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/6.457, allocations: 15.03 kB / 2.628 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/6.47, allocations: 1.932 MB / 2.63 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/6.487, allocations: 5.419 MB / 2.635 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005432/6.487, allocations: 245.8 kB / 2.636 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/6.489, allocations: 148.5 kB / 2.636 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009143/6.498, allocations: 4.303 MB / 2.64 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006849/6.505, allocations: 3.566 MB / 2.643 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/6.505, allocations: 9.797 kB / 2.643 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/6.505, allocations: 3.969 kB / 2.643 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.284e-05/6.505, allocations: 53.41 kB / 2.643 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0292/6.534, allocations: 16.52 MB / 2.66 GB, free: 97.08 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/6.538, allocations: 2.786 MB / 2.662 GB, free: 96.95 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/6.54, allocations: 1.873 MB / 2.664 GB, free: 96.94 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008311/6.541, allocations: 1.259 MB / 2.665 GB, free: 95.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002415/6.544, allocations: 1.922 MB / 2.667 GB, free: 95.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=154): time 4.158e-06/6.544, allocations: 0 / 2.667 GB, free: 95.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=154): time 0.007149/6.551, allocations: 3.706 MB / 2.671 GB, free: 95.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/6.551, allocations: 226.4 kB / 2.671 GB, free: 94.96 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006436/6.557, allocations: 3.45 MB / 2.674 GB, free: 94.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/6.559, allocations: 32.7 kB / 2.674 GB, free: 94.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/6.56, allocations: 0.9337 MB / 2.675 GB, free: 94.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/6.561, allocations: 0.5097 MB / 2.676 GB, free: 93.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/6.561, allocations: 0 / 2.676 GB, free: 93.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001596/6.562, allocations: 383.6 kB / 2.676 GB, free: 93.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/6.564, allocations: 1.771 MB / 2.678 GB, free: 93.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/6.567, allocations: 2.444 MB / 2.68 GB, free: 92.92 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/6.57, allocations: 1.899 MB / 2.682 GB, free: 92.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/6.57, allocations: 3.594 kB / 2.682 GB, free: 92.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.008102/6.578, allocations: 4.421 MB / 2.686 GB, free: 92.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008669/6.579, allocations: 3.831 MB / 2.69 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/6.579, allocations: 13.34 kB / 2.69 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004007/6.579, allocations: 172.8 kB / 2.69 GB, free: 88.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/6.583, allocations: 0.7449 MB / 2.691 GB, free: 88.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/6.585, allocations: 1.481 MB / 2.693 GB, free: 87.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007013/6.592, allocations: 0.5641 MB / 2.693 GB, free: 87.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007213/6.593, allocations: 137.4 kB / 2.693 GB, free: 87.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/6.593, allocations: 3.312 kB / 2.693 GB, free: 87.45 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006806/6.599, allocations: 3.958 MB / 2.697 GB, free: 87.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/6.6, allocations: 10.31 kB / 2.697 GB, free: 87.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/6.6, allocations: 184.2 kB / 2.697 GB, free: 87.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004003/6.604, allocations: 0.7483 MB / 2.698 GB, free: 87.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/6.607, allocations: 3.477 MB / 2.701 GB, free: 84.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006338/6.614, allocations: 0.5314 MB / 2.702 GB, free: 84.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000821/6.615, allocations: 131 kB / 2.702 GB, free: 84.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,chiPar.on[1],$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.001464/6.616, allocations: 155.7 kB / 2.702 GB, free: 84.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002022/6.618, allocations: 334.4 kB / 2.703 GB, free: 84.46 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009986/6.628, allocations: 4.143 MB / 2.707 GB, free: 84.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/6.628, allocations: 24.73 kB / 2.707 GB, free: 84.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/6.628, allocations: 0 / 2.707 GB, free: 84.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005342/6.634, allocations: 3.406 MB / 2.71 GB, free: 84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/6.653, allocations: 8.27 MB / 2.718 GB, free: 83.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/6.653, allocations: 3.781 kB / 2.718 GB, free: 83.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/6.657, allocations: 0.5776 MB / 2.719 GB, free: 83.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003256/6.657, allocations: 145 kB / 2.719 GB, free: 83.31 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003269/6.657, allocations: 40.8 kB / 2.719 GB, free: 83.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/6.659, allocations: 1.337 MB / 2.72 GB, free: 82.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/6.659, allocations: 4.719 kB / 2.72 GB, free: 82.27 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01054/6.669, allocations: 6.473 MB / 2.726 GB, free: 81.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003775/6.673, allocations: 1.152 MB / 2.728 GB, free: 81.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001882/6.675, allocations: 17.33 kB / 2.728 GB, free: 81.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005265/6.68, allocations: 440.5 kB / 2.728 GB, free: 81.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/6.681, allocations: 109.6 kB / 2.728 GB, free: 81.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000379/6.681, allocations: 84.91 kB / 2.728 GB, free: 81.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.007137/6.688, allocations: 2.651 MB / 2.731 GB, free: 80.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01349/6.702, allocations: 1.892 MB / 2.733 GB, free: 80.67 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U,chiPar.filter[1].x[1],chiPar.filter[1].x[2],chiPar.filter[2].x[1],chiPar.filter[2].x[2]) * Number of discrete variables: 4 ($whenCondition1,chiPar.on[1],pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004698/6.706, allocations: 1.113 MB / 2.734 GB, free: 80.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01258/6.719, allocations: 6.513 MB / 2.74 GB, free: 79.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/6.719, allocations: 0 / 2.74 GB, free: 79.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003508/6.723, allocations: 1.828 MB / 2.742 GB, free: 79.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/6.734, allocations: 1.792 MB / 2.744 GB, free: 79.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/6.756, allocations: 7.163 MB / 2.751 GB, free: 78.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007675/6.764, allocations: 3.357 MB / 2.754 GB, free: 77.95 MB / 0.8855 GB Notification: Performance of SimCode: time 1.823e-06/6.764, allocations: 0 / 2.754 GB, free: 77.95 MB / 0.8855 GB Notification: Performance of Templates: time 0.2055/6.969, allocations: 99.79 MB / 2.851 GB, free: 57.28 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricChillerParallel.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches