Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.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.NonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onChi.y|onWSE.y|tri.y|sou1.T_in|sou2.T_in|nonIntWSE1.wse.heaExc.con.addPID.y|nonIntWSE2.wse.heaExc.con.addPID.y|TSup1.T|TSup2.T|nonIntWSE1.TCHWSupWSE|nonIntWSE2.TCHWSupWSE|nonIntWSE1.chiPar.port_a1.m_flow|nonIntWSE1.chiPar.port_a2.m_flow|nonIntWSE2.chiPar.port_a1.m_flow|nonIntWSE2.chiPar.port_a2.m_flow|nonIntWSE1.chiPar.P.1.|nonIntWSE2.chiPar.P.1.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onChi.y|onWSE.y|tri.y|sou1.T_in|sou2.T_in|nonIntWSE1.wse.heaExc.con.addPID.y|nonIntWSE2.wse.heaExc.con.addPID.y|TSup1.T|TSup2.T|nonIntWSE1.TCHWSupWSE|nonIntWSE2.TCHWSupWSE|nonIntWSE1.chiPar.port_a1.m_flow|nonIntWSE1.chiPar.port_a2.m_flow|nonIntWSE2.chiPar.port_a1.m_flow|nonIntWSE2.chiPar.port_a2.m_flow|nonIntWSE1.chiPar.P.1.|nonIntWSE2.chiPar.P.1.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated") [: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.749/1.749, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009005/0.0009005, allocations: 186.6 kB / 490.8 MB, free: 1.961 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.085/1.085, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.0008353/0.0008353, allocations: 88.66 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.931e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1696, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7058/0.8755, allocations: 0.4944 GB / 1.706 GB, free: 6.469 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.8758, allocations: 105.2 kB / 1.706 GB, free: 6.41 MB / 1.12 GB Notification: Performance of FrontEnd: time 15.27/16.14, allocations: 5.882 GB / 7.588 GB, free: 64.22 MB / 1.479 GB Notification: Performance of Transformations before backend: time 0.002183/16.14, allocations: 305.3 kB / 7.588 GB, free: 64.16 MB / 1.479 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1584 * Number of variables: 1584 Notification: Performance of Generate backend data structure: time 0.02729/16.17, allocations: 10.96 MB / 7.599 GB, free: 59.15 MB / 1.479 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/16.17, allocations: 12.72 kB / 7.599 GB, free: 59.15 MB / 1.479 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/16.19, allocations: 3.08 MB / 7.602 GB, free: 58.35 MB / 1.479 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03393/16.22, allocations: 16.96 MB / 7.619 GB, free: 56.3 MB / 1.479 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001783/16.22, allocations: 0.6979 MB / 7.619 GB, free: 56.12 MB / 1.479 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/16.22, allocations: 417.2 kB / 7.62 GB, free: 56.11 MB / 1.479 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01452/16.24, allocations: 8.775 MB / 7.628 GB, free: 56.08 MB / 1.479 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/16.25, allocations: 8.19 MB / 7.636 GB, free: 55.45 MB / 1.479 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/16.25, allocations: 9.156 kB / 7.636 GB, free: 55.44 MB / 1.479 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006145/16.25, allocations: 7.125 kB / 7.636 GB, free: 55.44 MB / 1.479 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/16.25, allocations: 167 kB / 7.637 GB, free: 55.44 MB / 1.479 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06144/16.31, allocations: 53.12 MB / 7.688 GB, free: 26.09 MB / 1.479 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005224/16.32, allocations: 3.854 MB / 7.692 GB, free: 24.49 MB / 1.479 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/16.32, allocations: 3.281 MB / 7.695 GB, free: 23.17 MB / 1.479 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/16.33, allocations: 2.93 MB / 7.698 GB, free: 19.92 MB / 1.479 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004359/16.33, allocations: 3.315 MB / 7.701 GB, free: 18.62 MB / 1.479 GB Notification: Performance of pre-optimization done (n=345): time 5.53e-06/16.33, allocations: 0 / 7.701 GB, free: 18.62 MB / 1.479 GB Notification: Performance of matching and sorting (n=345): time 0.0182/16.35, allocations: 7.904 MB / 7.709 GB, free: 15.63 MB / 1.479 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/16.35, allocations: 219.9 kB / 7.709 GB, free: 15.41 MB / 1.479 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0199/16.37, allocations: 9.645 MB / 7.719 GB, free: 11.74 MB / 1.479 GB Notification: Performance of collectPreVariables (initialization): time 0.00123/16.37, allocations: 37.86 kB / 7.719 GB, free: 11.71 MB / 1.479 GB Notification: Performance of collectInitialEqns (initialization): time 0.00347/16.37, allocations: 2.951 MB / 7.722 GB, free: 9.805 MB / 1.479 GB Notification: Performance of collectInitialBindings (initialization): time 0.002631/16.38, allocations: 1.132 MB / 7.723 GB, free: 8.906 MB / 1.479 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/16.38, allocations: 1.125 kB / 7.723 GB, free: 8.906 MB / 1.479 GB Notification: Performance of setup shared object (initialization): time 0.0002212/16.38, allocations: 0.4939 MB / 7.723 GB, free: 8.512 MB / 1.479 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/16.38, allocations: 3.265 MB / 7.726 GB, free: 7.047 MB / 1.479 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004274/16.38, allocations: 5.122 MB / 7.731 GB, free: 1.613 MB / 1.479 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006272/16.39, allocations: 3.96 MB / 7.735 GB, free: 14.31 MB / 1.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/16.39, allocations: 12 kB / 7.735 GB, free: 14.3 MB / 1.495 GB Notification: Performance of matching and sorting (n=629) (initialization): time 0.0178/16.41, allocations: 9.693 MB / 7.745 GB, free: 5.875 MB / 1.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.005119/16.41, allocations: 20.53 MB / 7.765 GB, free: 92 kB / 1.51 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-05/16.41, allocations: 39.09 kB / 7.765 GB, free: 56 kB / 1.51 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008292/16.42, allocations: 1.958 MB / 7.767 GB, free: 14.55 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007258/16.43, allocations: 1.434 MB / 7.768 GB, free: 13.4 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00836/16.44, allocations: 8.749 MB / 7.777 GB, free: 4.859 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/16.45, allocations: 1.152 MB / 7.778 GB, free: 3.945 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/16.45, allocations: 290.3 kB / 7.778 GB, free: 3.711 MB / 1.526 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/16.45, allocations: 7.938 kB / 7.778 GB, free: 3.703 MB / 1.526 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6191/17.07, allocations: 8.298 MB / 7.786 GB, free: 201 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/17.07, allocations: 35.5 kB / 7.786 GB, free: 201 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003807/17.07, allocations: 1.142 MB / 7.787 GB, free: 200.9 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006005/17.08, allocations: 1.422 MB / 7.789 GB, free: 200.9 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/17.08, allocations: 6.288 MB / 7.795 GB, free: 197.4 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/17.09, allocations: 1.058 MB / 7.796 GB, free: 197.4 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005554/17.1, allocations: 291 kB / 7.796 GB, free: 197.4 MB / 1.526 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: nonIntWSE2.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: nonIntWSE1.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: 153 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition3,nonIntWSE2.trigger,$PRE.tri.pulseStart,tri.pulseStart,nonIntWSE2.chiPar.chi[1].tru.y,nonIntWSE1.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,nonIntWSE1.on[1],nonIntWSE1.on[2],nonIntWSE1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 529 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,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,2 21,2 19,2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001257/17.1, allocations: 279 kB / 7.797 GB, free: 197.2 MB / 1.526 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/17.1, allocations: 1.009 MB / 7.798 GB, free: 197.2 MB / 1.526 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/17.11, allocations: 8.841 MB / 7.806 GB, free: 197 MB / 1.526 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/17.11, allocations: 45.39 kB / 7.806 GB, free: 197 MB / 1.526 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/17.11, allocations: 0 / 7.806 GB, free: 197 MB / 1.526 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01061/17.13, allocations: 6.74 MB / 7.813 GB, free: 196.7 MB / 1.526 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02827/17.15, allocations: 19.02 MB / 7.831 GB, free: 195.8 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/17.15, allocations: 3.562 kB / 7.831 GB, free: 195.8 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004176/17.16, allocations: 0.9147 MB / 7.832 GB, free: 195.8 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004607/17.16, allocations: 1.46 MB / 7.834 GB, free: 195.7 MB / 1.526 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/17.16, allocations: 72.11 kB / 7.834 GB, free: 195.7 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004771/17.17, allocations: 7.958 MB / 7.842 GB, free: 190.1 MB / 1.526 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/17.17, allocations: 7.094 kB / 7.842 GB, free: 190.1 MB / 1.526 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01771/17.19, allocations: 12.66 MB / 7.854 GB, free: 188.7 MB / 1.526 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006471/17.19, allocations: 2.632 MB / 7.856 GB, free: 187.9 MB / 1.526 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003382/17.19, allocations: 20.73 kB / 7.856 GB, free: 187.9 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009316/17.2, allocations: 0.8607 MB / 7.857 GB, free: 187.8 MB / 1.526 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004412/17.2, allocations: 220.7 kB / 7.858 GB, free: 187.8 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005436/17.21, allocations: 187.2 kB / 7.858 GB, free: 187.8 MB / 1.526 GB Notification: Performance of sort global known variables: time 0.01428/17.22, allocations: 7.267 MB / 7.865 GB, free: 187.5 MB / 1.526 GB Notification: Performance of remove unused functions: time 0.0214/17.24, allocations: 5.523 MB / 7.87 GB, free: 187.3 MB / 1.526 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (TSup1.T,nonIntWSE1.chiPar.chi[1].vol1.dynBal.U,nonIntWSE1.chiPar.chi[1].vol2.dynBal.U,nonIntWSE1.wse.heaExc.thrWayVal.vol.dynBal.U,nonIntWSE1.wse.heaExc.con.I.y,nonIntWSE1.senTem.T,nonIntWSE2.chiPar.chi[1].vol1.dynBal.U,nonIntWSE2.chiPar.chi[1].vol2.dynBal.U,nonIntWSE2.wse.heaExc.thrWayVal.vol.dynBal.U,nonIntWSE2.wse.heaExc.con.I.y,nonIntWSE2.senTem.T,TSup2.T) * Number of discrete variables: 12 (nonIntWSE2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,nonIntWSE1.on[1],nonIntWSE1.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 (306): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,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,2 23,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00833/17.25, allocations: 6.323 MB / 7.876 GB, free: 184.2 MB / 1.526 GB Notification: Performance of simCode: created initialization part: time 0.01872/17.27, allocations: 12.34 MB / 7.888 GB, free: 183.8 MB / 1.526 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/17.27, allocations: 4.609 kB / 7.888 GB, free: 183.8 MB / 1.526 GB Notification: Performance of simCode: created simulation system equations: time 0.004809/17.27, allocations: 3.369 MB / 7.892 GB, free: 183.8 MB / 1.526 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02424/17.3, allocations: 5.231 MB / 7.897 GB, free: 183.7 MB / 1.526 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04214/17.34, allocations: 18.31 MB / 7.915 GB, free: 180.2 MB / 1.526 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00987/17.35, allocations: 7.286 MB / 7.922 GB, free: 179.2 MB / 1.526 GB Notification: Performance of SimCode: time 6.81e-07/17.35, allocations: 0 / 7.922 GB, free: 179.2 MB / 1.526 GB Notification: Performance of Templates: time 0.3492/17.7, allocations: 275.1 MB / 8.191 GB, free: 160.1 MB / 1.526 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_NonIntegrated.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches