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.001189/0.001189, allocations: 107 kB / 16.36 MB, free: 6.285 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.001087/0.001087, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.236/2.236, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 65.41 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.258, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6953/0.9533, allocations: 236.4 MB / 1.258 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.06043/1.014, allocations: 43.36 MB / 1.3 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01149/1.025, allocations: 234.6 kB / 1.3 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/1.036, allocations: 3.19 MB / 1.303 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02169/1.058, allocations: 7.761 MB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01362/1.071, allocations: 5.732 MB / 1.316 GB, free: 7.734 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03189/1.103, allocations: 26.71 MB / 1.343 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/1.117, allocations: 11.49 MB / 1.354 GB, free: 1.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01903/1.136, allocations: 9.593 MB / 1.363 GB, free: 7.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/1.148, allocations: 6.866 MB / 1.37 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003136/1.151, allocations: 1.066 MB / 1.371 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/1.162, allocations: 3.476 MB / 1.374 GB, free: 12.31 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004271/1.166, allocations: 2.644 MB / 1.377 GB, free: 9.656 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01045/1.176, allocations: 5.539 MB / 1.382 GB, free: 4.094 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02257/1.199, allocations: 18.94 MB / 1.401 GB, free: 1.105 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.199, allocations: 0 / 1.401 GB, free: 1.105 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.764e-06/1.199, allocations: 0 / 1.401 GB, free: 1.105 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000418/1.199, allocations: 4 kB / 1.401 GB, free: 1.102 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.02524/1.225, allocations: 10.38 MB / 1.411 GB, free: 6.621 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.225, allocations: 8.031 kB / 1.411 GB, free: 6.613 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006945/1.232, allocations: 1.363 MB / 1.412 GB, free: 5.238 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02248/1.254, allocations: 10.96 MB / 1.423 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005637/1.255, allocations: 470.1 kB / 1.423 GB, free: 9.727 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/1.257, allocations: 0.5233 MB / 1.424 GB, free: 9.203 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/1.274, allocations: 7.288 MB / 1.431 GB, free: 1.742 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/1.274, allocations: 15.84 kB / 1.431 GB, free: 1.727 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006096/1.274, allocations: 204 kB / 1.431 GB, free: 1.527 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/1.275, allocations: 197.4 kB / 1.431 GB, free: 1.332 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/1.288, allocations: 6.263 MB / 1.438 GB, free: 11.05 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.04896/1.337, allocations: 33.88 MB / 1.471 GB, free: 7.129 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/1.341, allocations: 2.399 MB / 1.473 GB, free: 4.711 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/1.345, allocations: 1.779 MB / 1.475 GB, free: 2.934 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/1.346, allocations: 2.032 MB / 1.477 GB, free: 472 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003425/1.35, allocations: 1.8 MB / 1.478 GB, free: 14.64 MB / 1.186 GB Notification: Performance of pre-optimization done (n=220): time 4.688e-06/1.35, allocations: 0 / 1.478 GB, free: 14.64 MB / 1.186 GB Notification: Performance of matching and sorting (n=220): time 0.01077/1.361, allocations: 4.876 MB / 1.483 GB, free: 9.754 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/1.361, allocations: 77.41 kB / 1.483 GB, free: 9.668 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01442/1.375, allocations: 9.207 MB / 1.492 GB, free: 492 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0007225/1.376, allocations: 89.7 kB / 1.492 GB, free: 396 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003966/1.38, allocations: 3.776 MB / 1.496 GB, free: 12.59 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/1.381, allocations: 0.7782 MB / 1.497 GB, free: 11.8 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/1.382, allocations: 0.7922 MB / 1.498 GB, free: 11 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.382, allocations: 313.1 kB / 1.498 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/1.386, allocations: 1.658 MB / 1.5 GB, free: 9.031 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/1.391, allocations: 3.28 MB / 1.503 GB, free: 5.117 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007247/1.398, allocations: 4.354 MB / 1.507 GB, free: 312 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/1.398, allocations: 12 kB / 1.507 GB, free: 300 kB / 1.201 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01076/1.409, allocations: 5.113 MB / 1.512 GB, free: 11.12 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/1.409, allocations: 18.34 kB / 1.512 GB, free: 11.11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/1.409, allocations: 32 kB / 1.512 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-05/1.409, allocations: 48 kB / 1.512 GB, free: 11.03 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/1.412, allocations: 0.8431 MB / 1.513 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.464e-05/1.412, allocations: 75.72 kB / 1.513 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006305/1.419, allocations: 0.6207 MB / 1.514 GB, free: 9.488 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/1.419, allocations: 160 kB / 1.514 GB, free: 9.332 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.004888/1.424, allocations: 3.07 MB / 1.517 GB, free: 6.25 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/1.426, allocations: 0.7331 MB / 1.517 GB, free: 5.508 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008144/1.434, allocations: 4.092 MB / 1.521 GB, free: 1.426 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/1.434, allocations: 28 kB / 1.521 GB, free: 1.398 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.434, allocations: 0 / 1.521 GB, free: 1.398 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005671/1.44, allocations: 3.184 MB / 1.525 GB, free: 14.16 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.02216/1.462, allocations: 11.21 MB / 1.536 GB, free: 2.809 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.462, allocations: 4 kB / 1.536 GB, free: 2.805 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.465, allocations: 0.5229 MB / 1.536 GB, free: 2.281 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/1.465, allocations: 16 kB / 1.536 GB, free: 2.266 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.465, allocations: 79.94 kB / 1.536 GB, free: 2.188 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/1.465, allocations: 15.94 kB / 1.536 GB, free: 2.172 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.465, allocations: 0 / 1.536 GB, free: 2.172 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5085/1.973, allocations: 6.017 MB / 1.542 GB, free: 419.9 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004476/1.978, allocations: 1.436 MB / 1.543 GB, free: 419.4 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/1.98, allocations: 66.98 kB / 1.543 GB, free: 419.3 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003949/1.984, allocations: 246.8 kB / 1.544 GB, free: 419.3 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/1.984, allocations: 149.7 kB / 1.544 GB, free: 419.3 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.984, allocations: 116.2 kB / 1.544 GB, free: 419.3 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01478/1.999, allocations: 6.554 MB / 1.55 GB, free: 416.9 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.32e-07/1.999, allocations: 1.469 kB / 1.55 GB, free: 416.9 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.009002/2.008, allocations: 2.079 MB / 1.552 GB, free: 416.8 MB / 1.232 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.002671/2.011, allocations: 1.148 MB / 1.554 GB, free: 416.6 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007913/2.019, allocations: 3.814 MB / 1.557 GB, free: 415.4 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/2.019, allocations: 6.562 kB / 1.557 GB, free: 415.4 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/2.022, allocations: 1.665 MB / 1.559 GB, free: 414.8 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02072/2.042, allocations: 4.569 MB / 1.563 GB, free: 413.7 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03129/2.074, allocations: 16.12 MB / 1.579 GB, free: 406.6 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009204/2.083, allocations: 5.521 MB / 1.584 GB, free: 404.6 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.01047/2.094, allocations: 2.154 MB / 1.587 GB, free: 404.3 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/2.096, allocations: 0.5346 MB / 1.587 GB, free: 404.3 MB / 1.232 GB Notification: Performance of SimCode: time 7.91e-07/2.096, allocations: 0 / 1.587 GB, free: 404.3 MB / 1.232 GB Notification: Performance of Templates: time 0.1983/2.294, allocations: 155 MB / 1.738 GB, free: 268.4 MB / 1.232 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 gbode -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