Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9386/0.9386, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.84/1.84, allocations: 377.8 MB / 0.6239 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.[0-9,]+.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.[0-9,]+.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.461e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.589/0.5891, allocations: 248.2 MB / 1.054 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.04115/0.6302, allocations: 45.2 MB / 1.098 GB, free: 104 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00676/0.637, allocations: 331.9 kB / 1.098 GB, free: 104 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.008197/0.6452, allocations: 3.174 MB / 1.101 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01955/0.6647, allocations: 8.526 MB / 1.11 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01118/0.6759, allocations: 5.972 MB / 1.116 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.03199/0.7079, allocations: 27.27 MB / 1.142 GB, free: 87.95 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.7189, allocations: 7.871 MB / 1.15 GB, free: 83.22 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0277/0.7466, allocations: 14.24 MB / 1.164 GB, free: 76.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01241/0.759, allocations: 6.746 MB / 1.17 GB, free: 74.88 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.003208/0.7622, allocations: 1.047 MB / 1.171 GB, free: 74.88 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.7731, allocations: 3.043 MB / 1.174 GB, free: 74.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.004738/0.7779, allocations: 2.779 MB / 1.177 GB, free: 72.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.009052/0.7869, allocations: 3.673 MB / 1.181 GB, free: 70.99 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.8044, allocations: 10.11 MB / 1.191 GB, free: 67.04 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.8044, allocations: 0 / 1.191 GB, free: 67.04 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8044, allocations: 0 / 1.191 GB, free: 67.04 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005063/0.805, allocations: 0 / 1.191 GB, free: 67.04 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.01987/0.8248, allocations: 11 MB / 1.201 GB, free: 60.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8249, allocations: 6.406 kB / 1.201 GB, free: 60.73 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006008/0.8309, allocations: 1.802 MB / 1.203 GB, free: 59.97 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/0.8458, allocations: 10.68 MB / 1.214 GB, free: 53.47 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.8462, allocations: 0.5168 MB / 1.214 GB, free: 53.16 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.8472, allocations: 0.529 MB / 1.215 GB, free: 52.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007159/0.8544, allocations: 5.041 MB / 1.219 GB, free: 49.37 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.196e-05/0.8545, allocations: 10.11 kB / 1.219 GB, free: 49.37 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003523/0.8548, allocations: 206.6 kB / 1.22 GB, free: 49.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.535e-05/0.8549, allocations: 141.8 kB / 1.22 GB, free: 49.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/0.8589, allocations: 1.941 MB / 1.222 GB, free: 47.6 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/0.8857, allocations: 23.98 MB / 1.245 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.8884, allocations: 1.022 MB / 1.246 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.8897, allocations: 0.6944 MB / 1.247 GB, free: 22.07 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/0.8904, allocations: 234.7 kB / 1.247 GB, free: 21.85 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/0.8919, allocations: 1.749 MB / 1.249 GB, free: 19.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=212): time 5.922e-06/0.8919, allocations: 0 / 1.249 GB, free: 19.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.00507/0.897, allocations: 2.35 MB / 1.251 GB, free: 17.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.897, allocations: 80.22 kB / 1.251 GB, free: 17.44 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00885/0.9059, allocations: 6.505 MB / 1.257 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007696/0.9067, allocations: 81.7 kB / 1.258 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002856/0.9095, allocations: 4.267 MB / 1.262 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009089/0.9104, allocations: 0.7967 MB / 1.262 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008231/0.9112, allocations: 0.8306 MB / 1.263 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.9113, allocations: 476.8 kB / 1.264 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/0.9122, allocations: 481.9 kB / 1.264 GB, free: 4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.9143, allocations: 4.379 MB / 1.268 GB, free: 14.32 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.9171, allocations: 2.563 MB / 1.271 GB, free: 11.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.9172, allocations: 8 kB / 1.271 GB, free: 11.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.00596/0.9231, allocations: 2.903 MB / 1.274 GB, free: 8.492 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.9231, allocations: 23.94 kB / 1.274 GB, free: 8.469 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/0.9232, allocations: 32.12 kB / 1.274 GB, free: 8.438 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.121e-05/0.9232, allocations: 48 kB / 1.274 GB, free: 8.391 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.925, allocations: 0.7794 MB / 1.275 GB, free: 7.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-05/0.925, allocations: 69.28 kB / 1.275 GB, free: 7.605 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/0.9291, allocations: 482.4 kB / 1.275 GB, free: 7.133 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/0.9294, allocations: 156 kB / 1.275 GB, free: 6.98 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.chi.tru.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],y1.y[2],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (400): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002073/0.9315, allocations: 401.1 kB / 1.276 GB, free: 6.629 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/0.9336, allocations: 0.7572 MB / 1.276 GB, free: 5.867 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.9376, allocations: 2.163 MB / 1.279 GB, free: 3.719 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/0.9376, allocations: 23.98 kB / 1.279 GB, free: 3.695 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9376, allocations: 4 kB / 1.279 GB, free: 3.691 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001981/0.9396, allocations: 1.425 MB / 1.28 GB, free: 2.219 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.9541, allocations: 8.127 MB / 1.288 GB, free: 10.09 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.9541, allocations: 4 kB / 1.288 GB, free: 10.08 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.9555, allocations: 0.5107 MB / 1.288 GB, free: 9.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-05/0.9555, allocations: 8 kB / 1.288 GB, free: 9.582 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/0.9556, allocations: 79.88 kB / 1.289 GB, free: 9.504 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.9556, allocations: 11.38 kB / 1.289 GB, free: 9.496 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9557, allocations: 4 kB / 1.289 GB, free: 9.492 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/0.9608, allocations: 2.946 MB / 1.291 GB, free: 6.492 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/0.9635, allocations: 1.274 MB / 1.293 GB, free: 5.223 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/0.9646, allocations: 63.92 kB / 1.293 GB, free: 5.16 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/0.9667, allocations: 202.5 kB / 1.293 GB, free: 4.965 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.9669, allocations: 141.1 kB / 1.293 GB, free: 4.832 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/0.9671, allocations: 115.9 kB / 1.293 GB, free: 4.719 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.005843/0.9729, allocations: 3.454 MB / 1.297 GB, free: 1.273 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9729, allocations: 0 / 1.297 GB, free: 1.273 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.006038/0.979, allocations: 2.186 MB / 1.299 GB, free: 15.08 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.valEva.junInl[1].vol.dynBal.U,chi.valEva.junInl[2].vol.dynBal.U,chi.valEva.junOut[1].vol.dynBal.U,chi.valEva.junOut[2].vol.dynBal.U,chi.valEva.val[1].actPos.y,chi.valEva.val[2].actPos.y,chi.valCon.junInl[1].vol.dynBal.U,chi.valCon.junInl[2].vol.dynBal.U,chi.valCon.junOut[1].vol.dynBal.U,chi.valCon.junOut[2].vol.dynBal.U,chi.valCon.val[1].actPos.y,chi.valCon.val[2].actPos.y,chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,y1.y[2],y1.intTimTab.y[1],y1.intTimTab.y[2],y1.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001932/0.9809, allocations: 1.106 MB / 1.3 GB, free: 14.09 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.003677/0.9846, allocations: 1.785 MB / 1.302 GB, free: 12.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.9846, allocations: 0 / 1.302 GB, free: 12.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.9858, allocations: 0.7745 MB / 1.302 GB, free: 11.67 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01224/0.9981, allocations: 3.865 MB / 1.306 GB, free: 7.949 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.017, allocations: 12.59 MB / 1.318 GB, free: 11.3 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/1.02, allocations: 2.177 MB / 1.32 GB, free: 9.105 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.00524/1.025, allocations: 1.639 MB / 1.322 GB, free: 7.496 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.027, allocations: 0.4925 MB / 1.323 GB, free: 7 MB / 1.057 GB Notification: Performance of SimCode: time 2.806e-06/1.027, allocations: 0 / 1.323 GB, free: 7 MB / 1.057 GB Notification: Performance of Templates: time 0.1487/1.175, allocations: 138.7 MB / 1.458 GB, free: 15.01 MB / 1.198 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.319845800986513]