Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001512/0.001512, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0019/0.0019, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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.9404/0.9404, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.012/2.012, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.386e-05, allocations: 2.844 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6358/0.6359, allocations: 249.2 MB / 1.122 GB, free: 89.28 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.05159/0.6874, allocations: 47.74 MB / 1.168 GB, free: 70.5 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008532/0.696, allocations: 381.2 kB / 1.169 GB, free: 70.3 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.006971/0.7029, allocations: 3.21 MB / 1.172 GB, free: 68.41 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01988/0.7228, allocations: 8.764 MB / 1.18 GB, free: 62.95 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.7364, allocations: 7.47 MB / 1.188 GB, free: 58.36 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.02482/0.7612, allocations: 28.71 MB / 1.216 GB, free: 43.39 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009915/0.7711, allocations: 8.09 MB / 1.223 GB, free: 38.14 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02646/0.7975, allocations: 15.16 MB / 1.238 GB, free: 29.04 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.8077, allocations: 6.969 MB / 1.245 GB, free: 25.11 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.002836/0.8105, allocations: 1.117 MB / 1.246 GB, free: 25.11 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009514/0.82, allocations: 3.121 MB / 1.249 GB, free: 23.21 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.002444/0.8225, allocations: 2.947 MB / 1.252 GB, free: 20.25 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.006212/0.8287, allocations: 3.944 MB / 1.256 GB, free: 16.3 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.8404, allocations: 10.73 MB / 1.266 GB, free: 5.535 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8404, allocations: 0 / 1.266 GB, free: 5.535 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8404, allocations: 0 / 1.266 GB, free: 5.535 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001994/0.8406, allocations: 0 / 1.266 GB, free: 5.535 MB / 1.01 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.01245/0.8531, allocations: 12.05 MB / 1.278 GB, free: 9.387 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8531, allocations: 8.031 kB / 1.278 GB, free: 9.379 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/0.8571, allocations: 1.957 MB / 1.28 GB, free: 7.414 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.8689, allocations: 11.89 MB / 1.292 GB, free: 11.4 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.8692, allocations: 0.5734 MB / 1.292 GB, free: 10.8 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006252/0.8699, allocations: 0.6171 MB / 1.293 GB, free: 10.18 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006489/0.8764, allocations: 5.046 MB / 1.298 GB, free: 4.703 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.471e-05/0.8764, allocations: 15.83 kB / 1.298 GB, free: 4.688 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.8768, allocations: 207.9 kB / 1.298 GB, free: 4.484 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-05/0.8769, allocations: 136 kB / 1.298 GB, free: 4.352 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003939/0.8808, allocations: 1.951 MB / 1.3 GB, free: 2.383 MB / 1.042 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.02479/0.9056, allocations: 25.11 MB / 1.325 GB, free: 8.816 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.9074, allocations: 1.048 MB / 1.326 GB, free: 7.766 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.9085, allocations: 0.6907 MB / 1.326 GB, free: 7.07 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/0.909, allocations: 241.8 kB / 1.327 GB, free: 6.836 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/0.9106, allocations: 1.749 MB / 1.328 GB, free: 4.863 MB / 1.073 GB Notification: Performance of pre-optimization done (n=212): time 4.479e-06/0.9106, allocations: 0 / 1.328 GB, free: 4.863 MB / 1.073 GB Notification: Performance of matching and sorting (n=212): time 0.004954/0.9156, allocations: 2.474 MB / 1.331 GB, free: 2.383 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.9156, allocations: 77.34 kB / 1.331 GB, free: 2.297 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008656/0.9243, allocations: 7.77 MB / 1.338 GB, free: 10.56 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.9246, allocations: 125.7 kB / 1.338 GB, free: 10.43 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.003269/0.9279, allocations: 4.655 MB / 1.343 GB, free: 5.754 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006474/0.9285, allocations: 0.7943 MB / 1.344 GB, free: 4.953 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.9301, allocations: 1.34 MB / 1.345 GB, free: 3.602 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.9302, allocations: 484.8 kB / 1.346 GB, free: 3.125 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.9314, allocations: 0.6225 MB / 1.346 GB, free: 2.496 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/0.9351, allocations: 6.621 MB / 1.353 GB, free: 9.551 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/0.9394, allocations: 5.224 MB / 1.358 GB, free: 2.711 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/0.9394, allocations: 24 kB / 1.358 GB, free: 2.688 MB / 1.104 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.006747/0.9462, allocations: 4.506 MB / 1.362 GB, free: 14.13 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.9462, allocations: 40 kB / 1.362 GB, free: 14.09 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-05/0.9463, allocations: 84 kB / 1.362 GB, free: 14.01 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.9e-05/0.9464, allocations: 116 kB / 1.362 GB, free: 13.89 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.9488, allocations: 1.213 MB / 1.364 GB, free: 12.68 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.851e-05/0.9489, allocations: 163.4 kB / 1.364 GB, free: 12.52 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/0.9524, allocations: 0.7308 MB / 1.364 GB, free: 11.79 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.9527, allocations: 287.9 kB / 1.365 GB, free: 11.5 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * 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 (634): * Single equations (assignments): 634 * 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.001889/0.9546, allocations: 0.5419 MB / 1.365 GB, free: 10.95 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009796/0.9555, allocations: 0.8346 MB / 1.366 GB, free: 10.11 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.9589, allocations: 2.216 MB / 1.368 GB, free: 7.898 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.9589, allocations: 31.98 kB / 1.368 GB, free: 7.867 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9589, allocations: 0 / 1.368 GB, free: 7.867 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/0.9611, allocations: 1.438 MB / 1.37 GB, free: 6.383 MB / 1.12 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.01057/0.9717, allocations: 8.665 MB / 1.378 GB, free: 13.63 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9717, allocations: 4.062 kB / 1.378 GB, free: 13.63 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.9729, allocations: 0.511 MB / 1.379 GB, free: 13.12 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.9729, allocations: 8 kB / 1.379 GB, free: 13.11 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.9731, allocations: 75.88 kB / 1.379 GB, free: 13.04 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.9731, allocations: 12 kB / 1.379 GB, free: 13.02 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9731, allocations: 3.938 kB / 1.379 GB, free: 13.02 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.9773, allocations: 3.067 MB / 1.382 GB, free: 9.898 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.979, allocations: 1.361 MB / 1.383 GB, free: 8.527 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/0.9795, allocations: 51.92 kB / 1.383 GB, free: 8.477 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.9812, allocations: 215.6 kB / 1.383 GB, free: 8.266 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.9814, allocations: 137.7 kB / 1.383 GB, free: 8.129 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.9816, allocations: 115.9 kB / 1.384 GB, free: 8.016 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.004757/0.9863, allocations: 3.966 MB / 1.387 GB, free: 4.09 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9863, allocations: 0 / 1.387 GB, free: 4.09 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.004961/0.9913, allocations: 2.327 MB / 1.39 GB, free: 1.758 MB / 1.135 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.001753/0.9931, allocations: 1.11 MB / 1.391 GB, free: 0.6602 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.003661/0.9967, allocations: 2.492 MB / 1.393 GB, free: 14.17 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.9967, allocations: 4 kB / 1.393 GB, free: 14.17 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.9978, allocations: 0.7814 MB / 1.394 GB, free: 13.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009089/1.007, allocations: 4.047 MB / 1.398 GB, free: 9.469 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.024, allocations: 13.89 MB / 1.411 GB, free: 11.45 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/1.026, allocations: 2.444 MB / 1.414 GB, free: 8.98 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004634/1.03, allocations: 1.877 MB / 1.416 GB, free: 7.133 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009995/1.031, allocations: 0.5471 MB / 1.416 GB, free: 6.582 MB / 1.167 GB Notification: Performance of SimCode: time 1.874e-06/1.031, allocations: 0 / 1.416 GB, free: 6.582 MB / 1.167 GB Notification: Performance of Templates: time 0.8117/1.843, allocations: 143.8 MB / 1.557 GB, free: 453.3 MB / 1.276 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 9.45638409210369]