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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001564/0.001564, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001822/0.001823, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.92 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9448/1.308, allocations: 234.9 MB / 1.281 GB, free: 52.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06627/1.374, allocations: 43.38 MB / 1.324 GB, free: 51.8 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01292/1.387, allocations: 221.4 kB / 1.324 GB, free: 51.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/1.399, allocations: 2.626 MB / 1.327 GB, free: 51.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02911/1.428, allocations: 7.209 MB / 1.334 GB, free: 50.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01654/1.444, allocations: 5.271 MB / 1.339 GB, free: 48.87 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04415/1.488, allocations: 33.28 MB / 1.371 GB, free: 33.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/1.504, allocations: 9.068 MB / 1.38 GB, free: 27.65 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02035/1.525, allocations: 7.393 MB / 1.387 GB, free: 20.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01392/1.539, allocations: 6.555 MB / 1.394 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003693/1.542, allocations: 410.7 kB / 1.394 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01351/1.556, allocations: 2.579 MB / 1.397 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004728/1.561, allocations: 1.925 MB / 1.399 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01284/1.574, allocations: 4.733 MB / 1.403 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02783/1.601, allocations: 17.78 MB / 1.421 GB, free: 3.809 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.602, allocations: 0 / 1.421 GB, free: 3.809 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/1.602, allocations: 3.938 kB / 1.421 GB, free: 3.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000542/1.602, allocations: 0 / 1.421 GB, free: 3.805 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03049/1.633, allocations: 10.34 MB / 1.431 GB, free: 9.469 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.633, allocations: 19.97 kB / 1.431 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009037/1.642, allocations: 1.355 MB / 1.432 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02695/1.669, allocations: 11.12 MB / 1.443 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007806/1.67, allocations: 473.8 kB / 1.443 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002871/1.672, allocations: 0.5194 MB / 1.444 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/1.696, allocations: 7.284 MB / 1.451 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/1.696, allocations: 15.83 kB / 1.451 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/1.698, allocations: 207.3 kB / 1.451 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/1.698, allocations: 201.3 kB / 1.451 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/1.717, allocations: 6.262 MB / 1.457 GB, free: 13.98 MB / 1.061 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.06897/1.786, allocations: 34.35 MB / 1.491 GB, free: 9.633 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/1.792, allocations: 2.396 MB / 1.493 GB, free: 7.234 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.796, allocations: 1.775 MB / 1.495 GB, free: 5.465 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002127/1.798, allocations: 2.035 MB / 1.497 GB, free: 3 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004842/1.803, allocations: 1.803 MB / 1.499 GB, free: 1.184 MB / 1.092 GB Notification: Performance of pre-optimization done (n=220): time 6.432e-06/1.803, allocations: 0 / 1.499 GB, free: 1.184 MB / 1.092 GB Notification: Performance of matching and sorting (n=220): time 0.01473/1.818, allocations: 4.872 MB / 1.504 GB, free: 12.3 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/1.818, allocations: 81.34 kB / 1.504 GB, free: 12.21 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0263/1.844, allocations: 8.934 MB / 1.512 GB, free: 3.297 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/1.845, allocations: 93.64 kB / 1.512 GB, free: 3.199 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.007398/1.853, allocations: 3.806 MB / 1.516 GB, free: 15.39 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/1.855, allocations: 0.7842 MB / 1.517 GB, free: 14.62 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003284/1.858, allocations: 0.7922 MB / 1.518 GB, free: 13.82 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.858, allocations: 305.1 kB / 1.518 GB, free: 13.52 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004121/1.862, allocations: 1.65 MB / 1.52 GB, free: 11.86 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006089/1.869, allocations: 3.276 MB / 1.523 GB, free: 7.957 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009186/1.878, allocations: 4.346 MB / 1.527 GB, free: 3.152 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-05/1.878, allocations: 12 kB / 1.527 GB, free: 3.141 MB / 1.123 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01553/1.893, allocations: 5.093 MB / 1.532 GB, free: 13.99 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/1.893, allocations: 16 kB / 1.532 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.5e-05/1.894, allocations: 35.98 kB / 1.532 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.496e-05/1.894, allocations: 48 kB / 1.532 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003973/1.898, allocations: 0.8393 MB / 1.533 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001125/1.898, allocations: 67.78 kB / 1.533 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009142/1.907, allocations: 0.8746 MB / 1.534 GB, free: 12.11 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009693/1.908, allocations: 164 kB / 1.534 GB, free: 11.95 MB / 1.139 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 (414): * Single equations (assignments): 414 * 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.007991/1.916, allocations: 3.062 MB / 1.537 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004361/1.92, allocations: 0.7292 MB / 1.538 GB, free: 8.133 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.933, allocations: 4.092 MB / 1.542 GB, free: 4.039 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.064e-05/1.933, allocations: 24 kB / 1.542 GB, free: 4.016 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.933, allocations: 4 kB / 1.542 GB, free: 4.012 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00702/1.94, allocations: 3.186 MB / 1.545 GB, free: 0.7773 MB / 1.139 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.03177/1.972, allocations: 10.88 MB / 1.556 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.972, allocations: 0 / 1.556 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.975, allocations: 0.5346 MB / 1.556 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.994e-05/1.975, allocations: 12 kB / 1.556 GB, free: 5.277 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004412/1.976, allocations: 83.88 kB / 1.556 GB, free: 5.195 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.563e-05/1.976, allocations: 8 kB / 1.556 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.976, allocations: 4 kB / 1.556 GB, free: 5.184 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.99, allocations: 6.028 MB / 1.562 GB, free: 15.09 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005217/1.995, allocations: 1.394 MB / 1.563 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003029/1.998, allocations: 67.97 kB / 1.563 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006791/2.005, allocations: 483 kB / 1.564 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005819/2.006, allocations: 149.7 kB / 1.564 GB, free: 12.99 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006059/2.006, allocations: 115.9 kB / 1.564 GB, free: 12.88 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01687/2.023, allocations: 6.358 MB / 1.57 GB, free: 6.543 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.31e-07/2.023, allocations: 0 / 1.57 GB, free: 6.543 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.01149/2.035, allocations: 2.023 MB / 1.572 GB, free: 4.516 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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].filter.s[1],chi.valEva.val[1].filter.s[2],chi.valEva.val[2].filter.s[1],chi.valEva.val[2].filter.s[2],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].filter.s[1],chi.valCon.val[1].filter.s[2],chi.valCon.val[2].filter.s[1],chi.valCon.val[2].filter.s[2],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 (230): * Single equations (assignments): 217 * 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.003367/2.038, allocations: 1.065 MB / 1.573 GB, free: 3.516 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009548/2.048, allocations: 3.797 MB / 1.577 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/2.048, allocations: 8.062 kB / 1.577 GB, free: 15.71 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003735/2.051, allocations: 1.659 MB / 1.579 GB, free: 14.05 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02412/2.075, allocations: 4.568 MB / 1.583 GB, free: 9.566 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04003/2.116, allocations: 18.82 MB / 1.602 GB, free: 6.727 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/2.126, allocations: 5.516 MB / 1.607 GB, free: 1.188 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.01118/2.137, allocations: 2.147 MB / 1.609 GB, free: 15.07 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002865/2.14, allocations: 0.5227 MB / 1.61 GB, free: 14.54 MB / 1.217 GB Notification: Performance of SimCode: time 1.563e-06/2.14, allocations: 0 / 1.61 GB, free: 14.54 MB / 1.217 GB Notification: Performance of Templates: time 1.423/3.563, allocations: 155.1 MB / 1.761 GB, free: 498.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=480 -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