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.0008815/0.0008815, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008817/0.0008817, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.893/0.893, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.753/1.753, allocations: 377.9 MB / 0.6228 GB, free: 8.672 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.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_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.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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.738e-05/4.014e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6677/0.6677, allocations: 216.3 MB / 1.193 GB, free: 7.262 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.04672/0.7144, allocations: 40.56 MB / 1.233 GB, free: 10.11 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008445/0.7229, allocations: 328.6 kB / 1.233 GB, free: 9.93 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.008564/0.7315, allocations: 3.182 MB / 1.236 GB, free: 7.309 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.01958/0.751, allocations: 8.517 MB / 1.245 GB, free: 472 kB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.01164/0.7627, allocations: 6.039 MB / 1.251 GB, free: 11.7 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.02806/0.7907, allocations: 27.19 MB / 1.277 GB, free: 1.215 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.8027, allocations: 7.56 MB / 1.285 GB, free: 9.539 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03609/0.8387, allocations: 14.12 MB / 1.298 GB, free: 11.41 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/0.8512, allocations: 6.638 MB / 1.305 GB, free: 4.758 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.003673/0.8549, allocations: 1.047 MB / 1.306 GB, free: 3.711 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.865, allocations: 3.041 MB / 1.309 GB, free: 0.6641 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.004861/0.8699, allocations: 2.764 MB / 1.312 GB, free: 13.89 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.01007/0.88, allocations: 3.652 MB / 1.315 GB, free: 10.23 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.02528/0.9052, allocations: 18.6 MB / 1.333 GB, free: 7.586 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/0.9052, allocations: 3.984 kB / 1.333 GB, free: 7.582 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9052, allocations: 0 / 1.333 GB, free: 7.582 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000563/0.9058, allocations: 0 / 1.333 GB, free: 7.582 MB / 1.151 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.02282/0.9286, allocations: 10.49 MB / 1.343 GB, free: 13 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.9287, allocations: 8.031 kB / 1.343 GB, free: 12.99 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/0.9337, allocations: 1.464 MB / 1.345 GB, free: 11.52 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01697/0.9507, allocations: 11.23 MB / 1.356 GB, free: 176 kB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005545/0.9513, allocations: 0.5093 MB / 1.356 GB, free: 15.63 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.9534, allocations: 0.5155 MB / 1.357 GB, free: 15.12 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.9688, allocations: 8.206 MB / 1.365 GB, free: 6.531 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.9689, allocations: 15.67 kB / 1.365 GB, free: 6.52 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/0.9694, allocations: 204 kB / 1.365 GB, free: 6.32 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.9695, allocations: 136 kB / 1.365 GB, free: 6.188 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.9812, allocations: 6.352 MB / 1.371 GB, free: 15.82 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 preOpt removeSimpleEquations (simulation): time 0.04343/1.025, allocations: 23.8 MB / 1.395 GB, free: 7.621 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004453/1.029, allocations: 2.482 MB / 1.397 GB, free: 5.137 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/1.032, allocations: 1.75 MB / 1.399 GB, free: 3.383 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007192/1.032, allocations: 229.8 kB / 1.399 GB, free: 3.156 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003262/1.036, allocations: 2.742 MB / 1.402 GB, free: 200 kB / 1.214 GB Notification: Performance of pre-optimization done (n=212): time 6.281e-06/1.036, allocations: 3.938 kB / 1.402 GB, free: 196 kB / 1.214 GB Notification: Performance of matching and sorting (n=212): time 0.01037/1.046, allocations: 5.063 MB / 1.407 GB, free: 11.12 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/1.046, allocations: 81.41 kB / 1.407 GB, free: 11.03 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/1.06, allocations: 8.402 MB / 1.415 GB, free: 2.625 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0008953/1.061, allocations: 85.7 kB / 1.415 GB, free: 2.535 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.003422/1.064, allocations: 3.891 MB / 1.419 GB, free: 14.62 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.066, allocations: 0.7631 MB / 1.42 GB, free: 13.85 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/1.067, allocations: 0.7844 MB / 1.42 GB, free: 13.05 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/1.067, allocations: 301.1 kB / 1.421 GB, free: 12.76 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/1.069, allocations: 1.735 MB / 1.422 GB, free: 11.02 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003958/1.073, allocations: 5.189 MB / 1.427 GB, free: 4.754 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005391/1.079, allocations: 4.418 MB / 1.432 GB, free: 15.88 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.767e-05/1.079, allocations: 8 kB / 1.432 GB, free: 15.87 MB / 1.26 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.008681/1.087, allocations: 5.181 MB / 1.437 GB, free: 10.64 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/1.087, allocations: 20 kB / 1.437 GB, free: 10.62 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/1.087, allocations: 32.86 kB / 1.437 GB, free: 10.59 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-05/1.087, allocations: 48 kB / 1.437 GB, free: 10.54 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/1.089, allocations: 0.8268 MB / 1.438 GB, free: 9.711 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.449e-05/1.089, allocations: 67.78 kB / 1.438 GB, free: 9.645 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/1.094, allocations: 0.5724 MB / 1.438 GB, free: 9.07 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/1.094, allocations: 156 kB / 1.438 GB, free: 8.918 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * 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 (402): * Single equations (assignments): 402 * 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.005187/1.099, allocations: 3.059 MB / 1.441 GB, free: 5.848 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00249/1.102, allocations: 0.6985 MB / 1.442 GB, free: 5.145 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006435/1.108, allocations: 4.184 MB / 1.446 GB, free: 0.9609 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/1.108, allocations: 24 kB / 1.446 GB, free: 0.9375 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.108, allocations: 0 / 1.446 GB, free: 0.9375 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004178/1.112, allocations: 3.328 MB / 1.449 GB, free: 13.55 MB / 1.276 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.01866/1.131, allocations: 9.618 MB / 1.459 GB, free: 3.859 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/1.131, allocations: 0 / 1.459 GB, free: 3.859 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.133, allocations: 0.5657 MB / 1.459 GB, free: 3.293 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/1.133, allocations: 8 kB / 1.459 GB, free: 3.285 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.133, allocations: 79.94 kB / 1.46 GB, free: 3.207 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/1.133, allocations: 11.94 kB / 1.46 GB, free: 3.195 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.133, allocations: 7.938 kB / 1.46 GB, free: 3.188 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009645/1.142, allocations: 6.279 MB / 1.466 GB, free: 12.86 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004034/1.146, allocations: 1.326 MB / 1.467 GB, free: 11.54 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/1.148, allocations: 55.98 kB / 1.467 GB, free: 11.48 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.151, allocations: 283.5 kB / 1.467 GB, free: 11.2 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/1.151, allocations: 145.7 kB / 1.467 GB, free: 11.06 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.151, allocations: 119.9 kB / 1.468 GB, free: 10.94 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.009128/1.16, allocations: 5.921 MB / 1.473 GB, free: 5.027 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.16, allocations: 0 / 1.473 GB, free: 5.027 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.007584/1.168, allocations: 2.179 MB / 1.475 GB, free: 2.844 MB / 1.292 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.00281/1.171, allocations: 1.11 MB / 1.477 GB, free: 1.746 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.007743/1.178, allocations: 3.831 MB / 1.48 GB, free: 13.91 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.178, allocations: 0 / 1.48 GB, free: 13.91 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/1.182, allocations: 1.714 MB / 1.482 GB, free: 12.2 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01518/1.197, allocations: 3.754 MB / 1.486 GB, free: 8.586 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02832/1.225, allocations: 15.43 MB / 1.501 GB, free: 9.086 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/1.23, allocations: 4.816 MB / 1.505 GB, free: 4.234 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002361/1.232, allocations: 0.5354 MB / 1.506 GB, free: 3.699 MB / 1.323 GB Notification: Performance of SimCode: time 2.144e-06/1.232, allocations: 0 / 1.506 GB, free: 3.699 MB / 1.323 GB Notification: Performance of Templates: time 1.095/2.327, allocations: 145.2 MB / 1.648 GB, free: 429.5 MB / 1.386 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 27.94791939575225]