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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009176/0.009176, allocations: 170.7 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.175/3.175, allocations: 483.2 MB / 0.7565 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004133, allocations: 9.219 kB / 0.9276 GB, free: 29.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3684, allocations: 164.5 MB / 1.088 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9217/1.29, allocations: 231.7 MB / 1.315 GB, free: 45.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06075/1.351, allocations: 42.94 MB / 1.356 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01262/1.364, allocations: 205.2 kB / 1.357 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01111/1.375, allocations: 2.612 MB / 1.359 GB, free: 35.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02469/1.399, allocations: 7.124 MB / 1.366 GB, free: 31.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01362/1.413, allocations: 5.289 MB / 1.371 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0341/1.447, allocations: 32.41 MB / 1.403 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/1.46, allocations: 8.811 MB / 1.412 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02023/1.481, allocations: 7.427 MB / 1.419 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01413/1.495, allocations: 6.073 MB / 1.425 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002785/1.498, allocations: 312 kB / 1.425 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/1.511, allocations: 2.472 MB / 1.427 GB, free: 4.488 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005026/1.516, allocations: 1.719 MB / 1.429 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01272/1.528, allocations: 4.526 MB / 1.434 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.03041/1.559, allocations: 17.13 MB / 1.45 GB, free: 13.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.559, allocations: 4 kB / 1.45 GB, free: 13.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/1.559, allocations: 0 / 1.45 GB, free: 13.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0005132/1.559, allocations: 0 / 1.45 GB, free: 13.02 MB / 1.045 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.02147/1.581, allocations: 8.161 MB / 1.458 GB, free: 4.754 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.581, allocations: 8.031 kB / 1.458 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008742/1.59, allocations: 1.434 MB / 1.46 GB, free: 3.301 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0259/1.616, allocations: 10.96 MB / 1.47 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000746/1.617, allocations: 466 kB / 1.471 GB, free: 7.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002262/1.619, allocations: 0.5116 MB / 1.471 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0198/1.639, allocations: 7.38 MB / 1.479 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/1.639, allocations: 15.78 kB / 1.479 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000635/1.639, allocations: 207.9 kB / 1.479 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/1.64, allocations: 144 kB / 1.479 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/1.655, allocations: 6.411 MB / 1.485 GB, free: 8.938 MB / 1.076 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.06218/1.718, allocations: 35.01 MB / 1.519 GB, free: 3.512 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006456/1.724, allocations: 2.668 MB / 1.522 GB, free: 0.8359 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/1.728, allocations: 1.847 MB / 1.524 GB, free: 14.98 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/1.731, allocations: 2.039 MB / 1.526 GB, free: 12.51 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004682/1.735, allocations: 1.924 MB / 1.528 GB, free: 10.57 MB / 1.123 GB Notification: Performance of pre-optimization done (n=212): time 4.538e-06/1.735, allocations: 0 / 1.528 GB, free: 10.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=212): time 0.01407/1.749, allocations: 5.203 MB / 1.533 GB, free: 5.352 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/1.75, allocations: 81.41 kB / 1.533 GB, free: 5.262 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02012/1.77, allocations: 8.831 MB / 1.541 GB, free: 12.44 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0009374/1.771, allocations: 93.64 kB / 1.541 GB, free: 12.34 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.006189/1.777, allocations: 3.764 MB / 1.545 GB, free: 8.566 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.778, allocations: 0.7395 MB / 1.546 GB, free: 7.816 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009236/1.779, allocations: 280.2 kB / 1.546 GB, free: 7.535 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.78, allocations: 305.1 kB / 1.546 GB, free: 7.234 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/1.784, allocations: 1.763 MB / 1.548 GB, free: 5.469 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006599/1.791, allocations: 3.372 MB / 1.551 GB, free: 1.465 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009494/1.801, allocations: 4.48 MB / 1.556 GB, free: 12.52 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-05/1.801, allocations: 8 kB / 1.556 GB, free: 12.51 MB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01379/1.814, allocations: 5.252 MB / 1.561 GB, free: 7.203 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/1.814, allocations: 24.03 kB / 1.561 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/1.815, allocations: 28 kB / 1.561 GB, free: 7.152 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.358e-05/1.815, allocations: 48 kB / 1.561 GB, free: 7.105 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/1.818, allocations: 0.8502 MB / 1.562 GB, free: 6.254 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.64e-05/1.818, allocations: 63.8 kB / 1.562 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008194/1.827, allocations: 0.9378 MB / 1.563 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005505/1.827, allocations: 156 kB / 1.563 GB, free: 5.102 MB / 1.154 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.006541/1.834, allocations: 3.023 MB / 1.566 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002479/1.836, allocations: 0.7176 MB / 1.567 GB, free: 1.34 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.848, allocations: 4.298 MB / 1.571 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/1.848, allocations: 20 kB / 1.571 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.848, allocations: 0 / 1.571 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007637/1.856, allocations: 3.39 MB / 1.574 GB, free: 9.582 MB / 1.17 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.02876/1.885, allocations: 11.07 MB / 1.585 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.885, allocations: 0 / 1.585 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/1.888, allocations: 0.5815 MB / 1.586 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.409e-05/1.888, allocations: 8 kB / 1.586 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/1.888, allocations: 75.94 kB / 1.586 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.522e-05/1.888, allocations: 15.94 kB / 1.586 GB, free: 13.69 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.888, allocations: 4 kB / 1.586 GB, free: 13.69 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.903, allocations: 6.392 MB / 1.592 GB, free: 7.242 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004889/1.908, allocations: 1.51 MB / 1.593 GB, free: 5.703 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/1.91, allocations: 59.92 kB / 1.593 GB, free: 5.648 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006279/1.916, allocations: 0.5295 MB / 1.594 GB, free: 5.121 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/1.917, allocations: 141.7 kB / 1.594 GB, free: 4.984 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004186/1.917, allocations: 119.9 kB / 1.594 GB, free: 4.867 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01562/1.933, allocations: 6.277 MB / 1.6 GB, free: 14.61 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.92e-07/1.933, allocations: 0 / 1.6 GB, free: 14.61 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.009129/1.942, allocations: 2.008 MB / 1.602 GB, free: 12.6 MB / 1.201 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.00306/1.945, allocations: 1.064 MB / 1.603 GB, free: 11.55 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.956, allocations: 4.007 MB / 1.607 GB, free: 7.551 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.956, allocations: 0 / 1.607 GB, free: 7.551 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004948/1.961, allocations: 1.777 MB / 1.609 GB, free: 5.77 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03228/1.993, allocations: 4.592 MB / 1.613 GB, free: 1.262 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04749/2.041, allocations: 18.79 MB / 1.632 GB, free: 14.45 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/2.052, allocations: 5.434 MB / 1.637 GB, free: 8.984 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.01112/2.063, allocations: 2.07 MB / 1.639 GB, free: 6.938 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/2.066, allocations: 0.5305 MB / 1.64 GB, free: 6.406 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/2.066, allocations: 0 / 1.64 GB, free: 6.406 MB / 1.232 GB Notification: Performance of Templates: time 1.557/3.623, allocations: 154.5 MB / 1.791 GB, free: 419.6 MB / 1.342 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) 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) Reference file matches