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.001822/0.001822, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002048/0.002048, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.325/3.325, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|y1.y.2.|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.1.|y1.y.2.|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.673e-06/1.673e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.009e-05, allocations: 4.422 kB / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7664/0.7664, allocations: 248.6 MB / 1.12 GB, free: 89.2 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0636/0.83, allocations: 47.73 MB / 1.167 GB, free: 70.84 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01215/0.8421, allocations: 384.9 kB / 1.167 GB, free: 70.64 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.8532, allocations: 3.213 MB / 1.17 GB, free: 68.74 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.02376/0.877, allocations: 8.762 MB / 1.179 GB, free: 63.29 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.01494/0.892, allocations: 7.461 MB / 1.186 GB, free: 58.71 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.02894/0.9209, allocations: 28.71 MB / 1.214 GB, free: 43.73 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01292/0.9338, allocations: 8.098 MB / 1.222 GB, free: 38.47 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03306/0.9669, allocations: 15.16 MB / 1.237 GB, free: 29.88 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01352/0.9804, allocations: 6.972 MB / 1.244 GB, free: 25.95 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.003605/0.984, allocations: 1.12 MB / 1.245 GB, free: 25.95 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01332/0.9973, allocations: 3.118 MB / 1.248 GB, free: 24.06 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.004757/1.002, allocations: 2.943 MB / 1.251 GB, free: 21.11 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.01116/1.013, allocations: 3.94 MB / 1.255 GB, free: 17.16 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.02725/1.04, allocations: 20.03 MB / 1.274 GB, free: 13.07 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.04, allocations: 4 kB / 1.274 GB, free: 13.07 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.783e-06/1.04, allocations: 0 / 1.274 GB, free: 13.07 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0005862/1.041, allocations: 0 / 1.274 GB, free: 13.07 MB / 1.026 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.03529/1.076, allocations: 13.29 MB / 1.287 GB, free: 15.68 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.076, allocations: 8.031 kB / 1.287 GB, free: 15.68 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009635/1.086, allocations: 1.953 MB / 1.289 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02913/1.115, allocations: 12.2 MB / 1.301 GB, free: 1.391 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008099/1.116, allocations: 0.5734 MB / 1.301 GB, free: 0.7891 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/1.118, allocations: 0.6132 MB / 1.302 GB, free: 180 kB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/1.138, allocations: 8.322 MB / 1.31 GB, free: 7.422 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/1.138, allocations: 11.89 kB / 1.31 GB, free: 7.41 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007094/1.139, allocations: 207.9 kB / 1.31 GB, free: 7.207 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/1.139, allocations: 143.9 kB / 1.311 GB, free: 7.066 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/1.155, allocations: 5.439 MB / 1.316 GB, free: 1.613 MB / 1.057 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.09116/1.246, allocations: 56.61 MB / 1.371 GB, free: 6.309 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0054/1.251, allocations: 2.11 MB / 1.373 GB, free: 4.195 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003495/1.255, allocations: 1.401 MB / 1.375 GB, free: 2.793 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.256, allocations: 237.8 kB / 1.375 GB, free: 2.559 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004833/1.26, allocations: 2.487 MB / 1.377 GB, free: 15.85 MB / 1.135 GB Notification: Performance of pre-optimization done (n=212): time 5.139e-06/1.26, allocations: 0 / 1.377 GB, free: 15.85 MB / 1.135 GB Notification: Performance of matching and sorting (n=212): time 0.0128/1.273, allocations: 4.227 MB / 1.381 GB, free: 11.62 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.273, allocations: 77.41 kB / 1.381 GB, free: 11.53 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02798/1.301, allocations: 12.73 MB / 1.394 GB, free: 14.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000982/1.302, allocations: 125.7 kB / 1.394 GB, free: 14.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00973/1.312, allocations: 5.428 MB / 1.399 GB, free: 9.242 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001796/1.314, allocations: 0.8761 MB / 1.4 GB, free: 8.363 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003199/1.317, allocations: 1.703 MB / 1.402 GB, free: 6.648 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002575/1.317, allocations: 480.8 kB / 1.402 GB, free: 6.176 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.322, allocations: 1.727 MB / 1.404 GB, free: 4.441 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.332, allocations: 8.019 MB / 1.412 GB, free: 10.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.345, allocations: 7.318 MB / 1.419 GB, free: 1.16 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.345, allocations: 24 kB / 1.419 GB, free: 1.137 MB / 1.167 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01874/1.364, allocations: 6.65 MB / 1.425 GB, free: 10.43 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/1.364, allocations: 40.22 kB / 1.425 GB, free: 10.39 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/1.364, allocations: 88 kB / 1.426 GB, free: 10.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/1.364, allocations: 112 kB / 1.426 GB, free: 10.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004821/1.369, allocations: 1.205 MB / 1.427 GB, free: 8.988 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001897/1.369, allocations: 171.4 kB / 1.427 GB, free: 8.82 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007478/1.377, allocations: 0.7269 MB / 1.428 GB, free: 8.09 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.378, allocations: 288 kB / 1.428 GB, free: 7.809 MB / 1.182 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.006999/1.385, allocations: 3.161 MB / 1.431 GB, free: 4.633 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003296/1.388, allocations: 0.8424 MB / 1.432 GB, free: 3.785 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009091/1.397, allocations: 3.35 MB / 1.435 GB, free: 456 kB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.668e-05/1.397, allocations: 23.98 kB / 1.435 GB, free: 432 kB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.397, allocations: 0 / 1.435 GB, free: 432 kB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005986/1.403, allocations: 2.59 MB / 1.438 GB, free: 13.79 MB / 1.198 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.03111/1.434, allocations: 12.78 MB / 1.45 GB, free: 0.9062 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.434, allocations: 0 / 1.45 GB, free: 0.9062 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/1.437, allocations: 0.5111 MB / 1.451 GB, free: 408 kB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.987e-05/1.437, allocations: 8 kB / 1.451 GB, free: 400 kB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002397/1.437, allocations: 87.88 kB / 1.451 GB, free: 312 kB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/1.437, allocations: 11.94 kB / 1.451 GB, free: 300 kB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.437, allocations: 0 / 1.451 GB, free: 300 kB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.45, allocations: 5.23 MB / 1.456 GB, free: 11.01 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00563/1.455, allocations: 1.369 MB / 1.457 GB, free: 9.629 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002076/1.458, allocations: 51.94 kB / 1.457 GB, free: 9.578 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004701/1.462, allocations: 211.6 kB / 1.458 GB, free: 9.371 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/1.463, allocations: 145.7 kB / 1.458 GB, free: 9.227 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000399/1.463, allocations: 115.9 kB / 1.458 GB, free: 9.113 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01701/1.48, allocations: 7.125 MB / 1.465 GB, free: 2.027 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.9e-07/1.48, allocations: 0 / 1.465 GB, free: 2.027 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.01016/1.49, allocations: 2.327 MB / 1.467 GB, free: 15.69 MB / 1.229 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.002648/1.493, allocations: 1.103 MB / 1.468 GB, free: 14.61 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.503, allocations: 4.436 MB / 1.472 GB, free: 10.17 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.503, allocations: 0 / 1.472 GB, free: 10.17 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.003421/1.507, allocations: 1.441 MB / 1.474 GB, free: 8.727 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02256/1.529, allocations: 4.097 MB / 1.478 GB, free: 4.766 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04237/1.572, allocations: 16.36 MB / 1.494 GB, free: 4.258 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01186/1.584, allocations: 5.23 MB / 1.499 GB, free: 14.99 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.009642/1.593, allocations: 1.882 MB / 1.501 GB, free: 13.14 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/1.596, allocations: 0.5433 MB / 1.501 GB, free: 12.59 MB / 1.26 GB Notification: Performance of SimCode: time 1.754e-06/1.596, allocations: 0 / 1.501 GB, free: 12.59 MB / 1.26 GB Notification: Performance of Templates: time 0.984/2.58, allocations: 143.6 MB / 1.641 GB, free: 383 MB / 1.276 GB " [Timeout remaining time 297] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.1800667749485]