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.001608/0.001608, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001465/0.001465, allocations: 166.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.923/2.923, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.444e-06/2.444e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.572e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9656/0.9656, allocations: 216.2 MB / 1.211 GB, free: 61.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.06172/1.027, allocations: 40.52 MB / 1.251 GB, free: 33.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01206/1.039, allocations: 327.2 kB / 1.251 GB, free: 33.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01245/1.052, allocations: 3.179 MB / 1.254 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02908/1.081, allocations: 8.519 MB / 1.263 GB, free: 26.58 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01536/1.096, allocations: 6.03 MB / 1.268 GB, free: 22.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.03733/1.134, allocations: 27.12 MB / 1.295 GB, free: 8.809 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01701/1.151, allocations: 7.289 MB / 1.302 GB, free: 4.863 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04076/1.191, allocations: 14.09 MB / 1.316 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01759/1.209, allocations: 6.633 MB / 1.322 GB, free: 7.484 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0046/1.214, allocations: 1.047 MB / 1.323 GB, free: 6.438 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01763/1.231, allocations: 3.041 MB / 1.326 GB, free: 3.391 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.008697/1.24, allocations: 2.756 MB / 1.329 GB, free: 0.625 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01756/1.257, allocations: 3.652 MB / 1.333 GB, free: 12.96 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.03903/1.297, allocations: 18.6 MB / 1.351 GB, free: 10.32 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/1.297, allocations: 4 kB / 1.351 GB, free: 10.32 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.755e-06/1.297, allocations: 0 / 1.351 GB, free: 10.32 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0007459/1.297, allocations: 0 / 1.351 GB, free: 10.32 MB / 1.123 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.03717/1.334, allocations: 10.47 MB / 1.361 GB, free: 15.75 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.334, allocations: 11.97 kB / 1.361 GB, free: 15.74 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/1.345, allocations: 1.493 MB / 1.362 GB, free: 14.24 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03028/1.375, allocations: 11.24 MB / 1.373 GB, free: 2.887 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008835/1.376, allocations: 0.5053 MB / 1.374 GB, free: 2.355 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002839/1.379, allocations: 0.5117 MB / 1.374 GB, free: 1.844 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/1.404, allocations: 8.218 MB / 1.382 GB, free: 9.242 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000341/1.405, allocations: 9.438 kB / 1.382 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/1.407, allocations: 207.9 kB / 1.383 GB, free: 9.031 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/1.407, allocations: 144 kB / 1.383 GB, free: 8.891 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.018/1.425, allocations: 6.372 MB / 1.389 GB, free: 2.504 MB / 1.154 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.05752/1.482, allocations: 23.85 MB / 1.412 GB, free: 10.26 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006812/1.489, allocations: 2.471 MB / 1.415 GB, free: 7.785 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004565/1.494, allocations: 1.754 MB / 1.416 GB, free: 6.035 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/1.495, allocations: 237.8 kB / 1.417 GB, free: 5.801 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005824/1.501, allocations: 2.758 MB / 1.419 GB, free: 2.82 MB / 1.186 GB Notification: Performance of pre-optimization done (n=212): time 5.731e-06/1.501, allocations: 0 / 1.419 GB, free: 2.82 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.0155/1.516, allocations: 5.098 MB / 1.424 GB, free: 13.71 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.516, allocations: 77.41 kB / 1.424 GB, free: 13.62 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02095/1.537, allocations: 8.397 MB / 1.433 GB, free: 5.277 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.539, allocations: 89.7 kB / 1.433 GB, free: 5.184 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.006383/1.545, allocations: 3.868 MB / 1.436 GB, free: 1.297 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001998/1.547, allocations: 0.7786 MB / 1.437 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/1.549, allocations: 0.7689 MB / 1.438 GB, free: 15.73 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.549, allocations: 313.1 kB / 1.438 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/1.553, allocations: 1.747 MB / 1.44 GB, free: 13.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007037/1.56, allocations: 5.197 MB / 1.445 GB, free: 7.402 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00947/1.569, allocations: 4.441 MB / 1.449 GB, free: 2.492 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-05/1.569, allocations: 8 kB / 1.449 GB, free: 2.484 MB / 1.217 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01569/1.585, allocations: 5.193 MB / 1.454 GB, free: 13.24 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/1.585, allocations: 20 kB / 1.454 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.758e-05/1.585, allocations: 31.94 kB / 1.454 GB, free: 13.19 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.242e-05/1.585, allocations: 48 kB / 1.455 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004192/1.589, allocations: 0.8311 MB / 1.455 GB, free: 12.31 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.075e-05/1.59, allocations: 67.73 kB / 1.455 GB, free: 12.24 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007786/1.597, allocations: 0.5763 MB / 1.456 GB, free: 11.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008408/1.598, allocations: 159.9 kB / 1.456 GB, free: 11.51 MB / 1.232 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.006727/1.605, allocations: 3.058 MB / 1.459 GB, free: 8.438 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002942/1.608, allocations: 0.6986 MB / 1.46 GB, free: 7.734 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.619, allocations: 4.206 MB / 1.464 GB, free: 3.531 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/1.619, allocations: 20 kB / 1.464 GB, free: 3.512 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.619, allocations: 4 kB / 1.464 GB, free: 3.508 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007314/1.626, allocations: 3.359 MB / 1.467 GB, free: 104 kB / 1.232 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.02654/1.653, allocations: 9.63 MB / 1.477 GB, free: 6.398 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/1.653, allocations: 4.25 kB / 1.477 GB, free: 6.395 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/1.656, allocations: 0.5695 MB / 1.477 GB, free: 5.824 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-05/1.656, allocations: 11.94 kB / 1.477 GB, free: 5.812 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/1.656, allocations: 75.94 kB / 1.477 GB, free: 5.738 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/1.656, allocations: 12 kB / 1.477 GB, free: 5.727 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.656, allocations: 0 / 1.477 GB, free: 5.727 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.671, allocations: 6.306 MB / 1.483 GB, free: 15.38 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005097/1.676, allocations: 1.338 MB / 1.485 GB, free: 14.04 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/1.678, allocations: 55.94 kB / 1.485 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005089/1.683, allocations: 287.5 kB / 1.485 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/1.684, allocations: 153.6 kB / 1.485 GB, free: 13.55 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00039/1.684, allocations: 115.9 kB / 1.485 GB, free: 13.43 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01302/1.697, allocations: 5.909 MB / 1.491 GB, free: 7.566 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.2e-07/1.697, allocations: 0 / 1.491 GB, free: 7.566 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.009232/1.706, allocations: 2.19 MB / 1.493 GB, free: 5.371 MB / 1.264 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.002749/1.709, allocations: 1.086 MB / 1.494 GB, free: 4.293 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009484/1.719, allocations: 3.855 MB / 1.498 GB, free: 452 kB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.719, allocations: 8.062 kB / 1.498 GB, free: 444 kB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003894/1.723, allocations: 1.659 MB / 1.5 GB, free: 14.77 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02195/1.744, allocations: 3.735 MB / 1.503 GB, free: 11.17 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/1.778, allocations: 15.79 MB / 1.519 GB, free: 11.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008467/1.786, allocations: 5.054 MB / 1.524 GB, free: 6.211 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007883/1.794, allocations: 1.919 MB / 1.526 GB, free: 4.32 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002211/1.796, allocations: 0.5002 MB / 1.526 GB, free: 3.816 MB / 1.295 GB Notification: Performance of SimCode: time 1.362e-06/1.796, allocations: 4 kB / 1.526 GB, free: 3.812 MB / 1.295 GB Notification: Performance of Templates: time 0.2547/2.051, allocations: 138.9 MB / 1.662 GB, free: 10.52 MB / 1.436 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 800] 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: 14.957425221800804]