Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.Experimental.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.Experimental.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.001667/0.001667, allocations: 119.9 kB / 16.37 MB, free: 6.016 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.001949/0.001949, allocations: 193 kB / 17.31 MB, free: 5.613 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.483/2.483, allocations: 442.5 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.78 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7221/1.016, allocations: 236.4 MB / 1.258 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.05837/1.074, allocations: 43.36 MB / 1.3 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008464/1.082, allocations: 234.6 kB / 1.3 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009274/1.092, allocations: 3.19 MB / 1.303 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02103/1.113, allocations: 7.748 MB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01273/1.126, allocations: 5.736 MB / 1.316 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03225/1.158, allocations: 26.71 MB / 1.343 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01552/1.173, allocations: 11.5 MB / 1.354 GB, free: 1.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01912/1.193, allocations: 9.586 MB / 1.363 GB, free: 7.637 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/1.204, allocations: 6.866 MB / 1.37 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003157/1.207, allocations: 1.066 MB / 1.371 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009997/1.217, allocations: 3.48 MB / 1.374 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004608/1.222, allocations: 2.644 MB / 1.377 GB, free: 9.539 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01053/1.232, allocations: 5.535 MB / 1.382 GB, free: 3.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0249/1.257, allocations: 18.94 MB / 1.401 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.257, allocations: 4 kB / 1.401 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.663e-06/1.257, allocations: 0 / 1.401 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004485/1.258, allocations: 0 / 1.401 GB, free: 0.9844 MB / 1.092 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.02555/1.283, allocations: 10.38 MB / 1.411 GB, free: 6.504 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.283, allocations: 8.031 kB / 1.411 GB, free: 6.496 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008091/1.291, allocations: 1.355 MB / 1.412 GB, free: 5.129 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02159/1.313, allocations: 10.96 MB / 1.423 GB, free: 10.09 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/1.314, allocations: 474 kB / 1.423 GB, free: 9.613 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/1.316, allocations: 0.5233 MB / 1.424 GB, free: 9.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/1.333, allocations: 7.28 MB / 1.431 GB, free: 1.637 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/1.333, allocations: 11.84 kB / 1.431 GB, free: 1.625 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006391/1.334, allocations: 204 kB / 1.431 GB, free: 1.426 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/1.334, allocations: 201.3 kB / 1.431 GB, free: 1.227 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/1.348, allocations: 6.259 MB / 1.438 GB, free: 10.95 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 preOpt removeSimpleEquations (simulation): time 0.05732/1.405, allocations: 33.9 MB / 1.471 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004762/1.41, allocations: 2.396 MB / 1.473 GB, free: 4.594 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/1.413, allocations: 1.775 MB / 1.475 GB, free: 2.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/1.415, allocations: 2.032 MB / 1.477 GB, free: 356 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003582/1.419, allocations: 1.796 MB / 1.478 GB, free: 14.54 MB / 1.186 GB Notification: Performance of pre-optimization done (n=220): time 8.646e-06/1.419, allocations: 7.984 kB / 1.478 GB, free: 14.53 MB / 1.186 GB Notification: Performance of matching and sorting (n=220): time 0.01142/1.43, allocations: 4.876 MB / 1.483 GB, free: 9.637 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/1.43, allocations: 77.41 kB / 1.483 GB, free: 9.551 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01719/1.448, allocations: 9.211 MB / 1.492 GB, free: 368 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0008699/1.448, allocations: 89.7 kB / 1.492 GB, free: 272 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.004676/1.453, allocations: 3.776 MB / 1.496 GB, free: 12.47 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.455, allocations: 0.7743 MB / 1.497 GB, free: 11.68 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/1.456, allocations: 0.7961 MB / 1.498 GB, free: 10.88 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/1.456, allocations: 305.1 kB / 1.498 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003216/1.459, allocations: 1.665 MB / 1.5 GB, free: 8.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004508/1.464, allocations: 3.28 MB / 1.503 GB, free: 4.996 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007026/1.471, allocations: 4.358 MB / 1.507 GB, free: 184 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/1.471, allocations: 8 kB / 1.507 GB, free: 176 kB / 1.201 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01145/1.482, allocations: 5.113 MB / 1.512 GB, free: 11 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/1.482, allocations: 22.03 kB / 1.512 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/1.482, allocations: 32.84 kB / 1.512 GB, free: 10.95 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.155e-05/1.482, allocations: 48 kB / 1.512 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/1.486, allocations: 0.8385 MB / 1.513 GB, free: 10.06 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.524e-05/1.486, allocations: 71.77 kB / 1.513 GB, free: 9.992 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006003/1.492, allocations: 0.6169 MB / 1.514 GB, free: 9.371 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/1.492, allocations: 164 kB / 1.514 GB, free: 9.211 MB / 1.217 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.005049/1.497, allocations: 3.078 MB / 1.517 GB, free: 6.121 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002347/1.5, allocations: 0.7292 MB / 1.517 GB, free: 5.383 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008539/1.508, allocations: 4.089 MB / 1.521 GB, free: 1.301 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/1.508, allocations: 20 kB / 1.521 GB, free: 1.281 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.508, allocations: 4 kB / 1.521 GB, free: 1.277 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00568/1.514, allocations: 3.184 MB / 1.525 GB, free: 14.04 MB / 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.02329/1.537, allocations: 11.21 MB / 1.536 GB, free: 2.691 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.537, allocations: 0 / 1.536 GB, free: 2.691 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/1.54, allocations: 0.5307 MB / 1.536 GB, free: 2.16 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.313e-05/1.54, allocations: 15.98 kB / 1.536 GB, free: 2.145 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/1.54, allocations: 83.94 kB / 1.536 GB, free: 2.062 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/1.54, allocations: 8 kB / 1.536 GB, free: 2.055 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.54, allocations: 7.938 kB / 1.536 GB, free: 2.047 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8976/2.438, allocations: 6.02 MB / 1.542 GB, free: 418.3 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005949/2.444, allocations: 1.437 MB / 1.543 GB, free: 417.8 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/2.446, allocations: 59.94 kB / 1.543 GB, free: 417.8 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004827/2.451, allocations: 248.1 kB / 1.544 GB, free: 417.7 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/2.452, allocations: 148.6 kB / 1.544 GB, free: 417.7 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004366/2.452, allocations: 116.6 kB / 1.544 GB, free: 417.7 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.01567/2.468, allocations: 6.551 MB / 1.55 GB, free: 415.3 MB / 1.233 GB Notification: Performance of sort global known variables: time 9.22e-07/2.468, allocations: 0 / 1.55 GB, free: 415.3 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.008859/2.477, allocations: 2.086 MB / 1.552 GB, free: 415.2 MB / 1.233 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.00312/2.48, allocations: 1.14 MB / 1.554 GB, free: 415 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.008531/2.488, allocations: 3.822 MB / 1.557 GB, free: 413.8 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/2.488, allocations: 2.75 kB / 1.557 GB, free: 413.8 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/2.492, allocations: 1.663 MB / 1.559 GB, free: 413.2 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0247/2.517, allocations: 4.563 MB / 1.563 GB, free: 412.2 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03429/2.551, allocations: 16.13 MB / 1.579 GB, free: 405.1 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/2.562, allocations: 5.513 MB / 1.584 GB, free: 403.1 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.01103/2.573, allocations: 2.153 MB / 1.587 GB, free: 402.7 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002895/2.576, allocations: 0.5323 MB / 1.587 GB, free: 402.7 MB / 1.233 GB Notification: Performance of SimCode: time 1.913e-06/2.576, allocations: 0 / 1.587 GB, free: 402.7 MB / 1.233 GB Notification: Performance of Templates: time 0.1963/2.772, allocations: 155 MB / 1.738 GB, free: 266.1 MB / 1.233 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches