Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.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.Equipment.Validation.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onChi.y|onWSE.y|tri.y|sou1.T_in|sou2.T_in|intWSEPri1.wse.heaExc.con.addPID.y|intWSEPri2.wse.heaExc.con.addPID.y|TSup1.T|TSup2.T|intWSEPri1.TCHWSupWSE|intWSEPri2.TCHWSupWSE|intWSEPri1.chiPar.port_a1.m_flow|intWSEPri1.chiPar.port_a2.m_flow|intWSEPri2.chiPar.port_a1.m_flow|intWSEPri2.chiPar.port_a2.m_flow|intWSEPri1.chiPar.P.1.|intWSEPri2.chiPar.P.1.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onChi.y|onWSE.y|tri.y|sou1.T_in|sou2.T_in|intWSEPri1.wse.heaExc.con.addPID.y|intWSEPri2.wse.heaExc.con.addPID.y|TSup1.T|TSup2.T|intWSEPri1.TCHWSupWSE|intWSEPri2.TCHWSupWSE|intWSEPri1.chiPar.port_a1.m_flow|intWSEPri1.chiPar.port_a2.m_flow|intWSEPri2.chiPar.port_a1.m_flow|intWSEPri2.chiPar.port_a2.m_flow|intWSEPri1.chiPar.P.1.|intWSEPri2.chiPar.P.1.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") [: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.699/1.699, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009071/0.0009071, allocations: 189.2 kB / 490.8 MB, free: 1.941 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.072/1.072, allocations: 221.3 MB / 0.7863 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008165/0.0008165, allocations: 95.61 kB / 0.9264 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.262e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1663, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6837/0.85, allocations: 0.4978 GB / 1.709 GB, free: 3.254 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.8503, allocations: 107 kB / 1.709 GB, free: 3.195 MB / 1.12 GB Notification: Performance of FrontEnd: time 17.43/18.28, allocations: 6.74 GB / 8.449 GB, free: 72.91 MB / 1.542 GB Notification: Performance of Transformations before backend: time 0.002378/18.28, allocations: 354 kB / 8.45 GB, free: 72.85 MB / 1.542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.02872/18.31, allocations: 12.51 MB / 8.462 GB, free: 67.7 MB / 1.542 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/18.31, allocations: 15.73 kB / 8.462 GB, free: 67.7 MB / 1.542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/18.33, allocations: 3.294 MB / 8.465 GB, free: 66.87 MB / 1.542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03458/18.36, allocations: 19.2 MB / 8.484 GB, free: 64.8 MB / 1.542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00149/18.37, allocations: 0.7483 MB / 8.484 GB, free: 64.66 MB / 1.542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/18.37, allocations: 495.3 kB / 8.485 GB, free: 64.65 MB / 1.542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01391/18.38, allocations: 9.958 MB / 8.495 GB, free: 64.62 MB / 1.542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/18.39, allocations: 9.107 MB / 8.504 GB, free: 63.95 MB / 1.542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/18.39, allocations: 12.17 kB / 8.504 GB, free: 63.95 MB / 1.542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007575/18.39, allocations: 6.75 kB / 8.504 GB, free: 63.95 MB / 1.542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/18.39, allocations: 197.4 kB / 8.504 GB, free: 63.95 MB / 1.542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06125/18.46, allocations: 60.01 MB / 8.562 GB, free: 37.23 MB / 1.542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004657/18.46, allocations: 4.125 MB / 8.566 GB, free: 37.21 MB / 1.542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004224/18.47, allocations: 3.574 MB / 8.57 GB, free: 37.18 MB / 1.542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002181/18.47, allocations: 3.274 MB / 8.573 GB, free: 33.61 MB / 1.542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004675/18.47, allocations: 3.605 MB / 8.577 GB, free: 33.48 MB / 1.542 GB Notification: Performance of pre-optimization done (n=403): time 5.781e-06/18.47, allocations: 0 / 8.577 GB, free: 33.48 MB / 1.542 GB Notification: Performance of matching and sorting (n=403): time 0.01575/18.49, allocations: 8.299 MB / 8.585 GB, free: 32.68 MB / 1.542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/18.49, allocations: 227.2 kB / 8.585 GB, free: 32.46 MB / 1.542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01488/18.5, allocations: 10.82 MB / 8.595 GB, free: 31.77 MB / 1.542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009213/18.5, allocations: 35.42 kB / 8.596 GB, free: 31.74 MB / 1.542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003537/18.51, allocations: 3.376 MB / 8.599 GB, free: 30.2 MB / 1.542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002718/18.51, allocations: 1.321 MB / 8.6 GB, free: 29.31 MB / 1.542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/18.51, allocations: 1.781 kB / 8.6 GB, free: 29.31 MB / 1.542 GB Notification: Performance of setup shared object (initialization): time 0.0002374/18.51, allocations: 0.525 MB / 8.601 GB, free: 28.99 MB / 1.542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004353/18.51, allocations: 3.563 MB / 8.604 GB, free: 28.98 MB / 1.542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005039/18.52, allocations: 5.684 MB / 8.61 GB, free: 26.62 MB / 1.542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/18.53, allocations: 4.342 MB / 8.614 GB, free: 26.56 MB / 1.542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/18.53, allocations: 12.75 kB / 8.614 GB, free: 26.56 MB / 1.542 GB Notification: Performance of matching and sorting (n=735) (initialization): time 0.01701/18.54, allocations: 10.67 MB / 8.624 GB, free: 25.8 MB / 1.542 GB Notification: Performance of prepare postOptimizeDAE: time 0.004832/18.55, allocations: 24.47 MB / 8.648 GB, free: 16.32 MB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/18.55, allocations: 38.66 kB / 8.648 GB, free: 16.32 MB / 1.557 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005225/18.55, allocations: 1.663 MB / 8.65 GB, free: 16.27 MB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006895/18.56, allocations: 1.569 MB / 8.651 GB, free: 16.27 MB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/18.57, allocations: 7.587 MB / 8.659 GB, free: 27.79 MB / 1.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/18.58, allocations: 1.331 MB / 8.66 GB, free: 27.48 MB / 1.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/18.58, allocations: 327.8 kB / 8.66 GB, free: 27.48 MB / 1.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/18.58, allocations: 4.969 kB / 8.66 GB, free: 27.48 MB / 1.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01399/18.59, allocations: 9.154 MB / 8.669 GB, free: 27.36 MB / 1.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/18.59, allocations: 41.42 kB / 8.669 GB, free: 27.36 MB / 1.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004326/18.6, allocations: 1.305 MB / 8.671 GB, free: 27.32 MB / 1.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006265/18.6, allocations: 1.567 MB / 8.672 GB, free: 27.32 MB / 1.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008743/18.61, allocations: 7.626 MB / 8.68 GB, free: 23.64 MB / 1.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/18.62, allocations: 1.216 MB / 8.681 GB, free: 23.42 MB / 1.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/18.62, allocations: 324.2 kB / 8.681 GB, free: 23.42 MB / 1.573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: intWSEPri2.wse.heaExc.hex.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: intWSEPri1.wse.heaExc.hex.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition3,intWSEPri2.trigger,$PRE.tri.pulseStart,tri.pulseStart,intWSEPri2.chiPar.chi[1].tru.y,intWSEPri1.chiPar.chi[1].tru.y,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 627 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 19,5 23,2 19,5 23} Notification: Performance of prepare postOptimizeDAE: time 0.001323/18.63, allocations: 302.8 kB / 8.681 GB, free: 23.26 MB / 1.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/18.63, allocations: 1.163 MB / 8.683 GB, free: 22.62 MB / 1.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/18.64, allocations: 9.433 MB / 8.692 GB, free: 22.29 MB / 1.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/18.64, allocations: 55.47 kB / 8.692 GB, free: 22.29 MB / 1.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/18.64, allocations: 0 / 8.692 GB, free: 22.29 MB / 1.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01085/18.66, allocations: 7.025 MB / 8.699 GB, free: 22.09 MB / 1.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0303/18.69, allocations: 20.67 MB / 8.719 GB, free: 20.97 MB / 1.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/18.69, allocations: 2.906 kB / 8.719 GB, free: 20.97 MB / 1.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004763/18.69, allocations: 1.019 MB / 8.72 GB, free: 20.97 MB / 1.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003928/18.69, allocations: 1.362 MB / 8.721 GB, free: 20.91 MB / 1.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003766/18.69, allocations: 81 kB / 8.721 GB, free: 20.91 MB / 1.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005559/18.7, allocations: 6.882 MB / 8.728 GB, free: 16.45 MB / 1.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/18.7, allocations: 6.156 kB / 8.728 GB, free: 16.45 MB / 1.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01869/18.72, allocations: 13.77 MB / 8.741 GB, free: 14.69 MB / 1.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007034/18.73, allocations: 2.918 MB / 8.744 GB, free: 13.7 MB / 1.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002656/18.73, allocations: 13 kB / 8.744 GB, free: 13.7 MB / 1.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008237/18.74, allocations: 0.9727 MB / 8.745 GB, free: 13.65 MB / 1.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004467/18.74, allocations: 258.7 kB / 8.746 GB, free: 13.65 MB / 1.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004735/18.74, allocations: 207.7 kB / 8.746 GB, free: 13.65 MB / 1.573 GB Notification: Performance of sort global known variables: time 0.01168/18.75, allocations: 8.131 MB / 8.754 GB, free: 13.29 MB / 1.573 GB Notification: Performance of remove unused functions: time 0.01957/18.77, allocations: 6.389 MB / 8.76 GB, free: 12.51 MB / 1.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (TSup1.T,intWSEPri1.chiPar.chi[1].vol1.dynBal.U,intWSEPri1.chiPar.chi[1].vol2.dynBal.U,intWSEPri1.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri1.wse.heaExc.con.I.y,intWSEPri1.senTem.T,intWSEPri1.jun3.vol.dynBal.U,intWSEPri2.chiPar.chi[1].vol1.dynBal.U,intWSEPri2.chiPar.chi[1].vol2.dynBal.U,intWSEPri2.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri2.wse.heaExc.con.I.y,intWSEPri2.senTem.T,intWSEPri2.jun3.vol.dynBal.U,TSup2.T) * Number of discrete variables: 12 (intWSEPri2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],tri.pulseStart) * 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 (364): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 25,2 25,5 23,5 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.009105/18.78, allocations: 7.52 MB / 8.767 GB, free: 8.5 MB / 1.573 GB Notification: Performance of simCode: created initialization part: time 0.01891/18.8, allocations: 13.62 MB / 8.781 GB, free: 8.055 MB / 1.573 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/18.8, allocations: 3.375 kB / 8.781 GB, free: 8.055 MB / 1.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004672/18.8, allocations: 3.696 MB / 8.784 GB, free: 7.988 MB / 1.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02394/18.83, allocations: 6.032 MB / 8.79 GB, free: 7.879 MB / 1.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/18.86, allocations: 20.74 MB / 8.81 GB, free: 3.668 MB / 1.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008995/18.87, allocations: 8.115 MB / 8.818 GB, free: 2.457 MB / 1.573 GB Notification: Performance of SimCode: time 6.51e-07/18.87, allocations: 0 / 8.818 GB, free: 2.457 MB / 1.573 GB Notification: Performance of Templates: time 0.9686/19.84, allocations: 310.8 MB / 9.122 GB, free: 239.9 MB / 1.62 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches