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.006429/0.006429, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001404/0.001404, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.661/2.661, allocations: 472.6 MB / 0.7453 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.172, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2295/1.402, allocations: 236.4 MB / 1.456 GB, free: 384 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.07059/1.472, allocations: 43.32 MB / 1.499 GB, free: 4.941 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01185/1.484, allocations: 234.6 kB / 1.499 GB, free: 4.711 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.01299/1.497, allocations: 3.189 MB / 1.502 GB, free: 1.504 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.03519/1.533, allocations: 7.747 MB / 1.51 GB, free: 9.73 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01638/1.549, allocations: 5.733 MB / 1.515 GB, free: 4.043 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0424/1.592, allocations: 26.71 MB / 1.541 GB, free: 9.277 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01913/1.611, allocations: 11.51 MB / 1.553 GB, free: 13.66 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02384/1.635, allocations: 9.601 MB / 1.562 GB, free: 4.055 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 1.179/2.814, allocations: 6.861 MB / 1.569 GB, free: 86.3 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.006832/2.821, allocations: 1.068 MB / 1.57 GB, free: 86.3 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01765/2.839, allocations: 3.471 MB / 1.573 GB, free: 86.3 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.008131/2.847, allocations: 2.635 MB / 1.576 GB, free: 86.3 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02146/2.868, allocations: 5.541 MB / 1.581 GB, free: 86.3 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03783/2.906, allocations: 18.46 MB / 1.599 GB, free: 84.63 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/2.906, allocations: 3.562 kB / 1.599 GB, free: 84.63 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.675e-06/2.906, allocations: 0 / 1.599 GB, free: 84.63 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0006735/2.907, allocations: 0 / 1.599 GB, free: 84.63 MB / 1.279 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.03944/2.946, allocations: 10.65 MB / 1.61 GB, free: 80.5 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/2.946, allocations: 13.67 kB / 1.61 GB, free: 80.5 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/2.957, allocations: 1.404 MB / 1.611 GB, free: 79.97 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02896/2.986, allocations: 11 MB / 1.622 GB, free: 78.52 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008282/2.987, allocations: 476.4 kB / 1.622 GB, free: 78.44 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003578/2.99, allocations: 0.5226 MB / 1.623 GB, free: 78.44 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/3.018, allocations: 7.276 MB / 1.63 GB, free: 77.87 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004754/3.018, allocations: 12.2 kB / 1.63 GB, free: 77.87 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003129/3.021, allocations: 203.7 kB / 1.63 GB, free: 77.87 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003297/3.022, allocations: 205.3 kB / 1.63 GB, free: 77.85 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/3.042, allocations: 6.261 MB / 1.636 GB, free: 77.79 MB / 1.279 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.06787/3.11, allocations: 33.93 MB / 1.669 GB, free: 63.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006233/3.116, allocations: 2.398 MB / 1.672 GB, free: 63 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004523/3.121, allocations: 1.802 MB / 1.673 GB, free: 62.7 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/3.122, allocations: 2.034 MB / 1.675 GB, free: 60.39 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004828/3.127, allocations: 1.808 MB / 1.677 GB, free: 59.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 1.006e-05/3.127, allocations: 0 / 1.677 GB, free: 59.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01498/3.142, allocations: 4.908 MB / 1.682 GB, free: 58.79 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/3.142, allocations: 82.3 kB / 1.682 GB, free: 58.72 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02638/3.169, allocations: 9.206 MB / 1.691 GB, free: 56.16 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.00134/3.17, allocations: 92.33 kB / 1.691 GB, free: 56.09 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.008071/3.178, allocations: 3.838 MB / 1.695 GB, free: 52.78 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002305/3.181, allocations: 0.8042 MB / 1.696 GB, free: 52.09 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003926/3.185, allocations: 0.7985 MB / 1.696 GB, free: 51.63 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/3.185, allocations: 305.1 kB / 1.697 GB, free: 51.33 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004026/3.189, allocations: 1.666 MB / 1.698 GB, free: 50.48 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005738/3.195, allocations: 3.281 MB / 1.702 GB, free: 47.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008254/3.203, allocations: 4.354 MB / 1.706 GB, free: 44.73 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.334e-05/3.203, allocations: 11.53 kB / 1.706 GB, free: 44.73 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.0147/3.218, allocations: 5.15 MB / 1.711 GB, free: 42.25 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/3.218, allocations: 18.56 kB / 1.711 GB, free: 42.25 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.49e-05/3.218, allocations: 32.53 kB / 1.711 GB, free: 42.25 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/3.218, allocations: 47.94 kB / 1.711 GB, free: 42.25 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/3.222, allocations: 0.8407 MB / 1.712 GB, free: 42.09 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/3.222, allocations: 68.78 kB / 1.712 GB, free: 42.09 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008414/3.23, allocations: 0.6348 MB / 1.713 GB, free: 41.69 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008665/3.231, allocations: 158.9 kB / 1.713 GB, free: 41.65 MB / 1.279 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.007781/3.239, allocations: 3.068 MB / 1.716 GB, free: 39.79 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003935/3.243, allocations: 0.7647 MB / 1.716 GB, free: 39.37 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/3.254, allocations: 4.097 MB / 1.72 GB, free: 36.04 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/3.254, allocations: 23.94 kB / 1.72 GB, free: 36.02 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/3.255, allocations: 0 / 1.72 GB, free: 36.02 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005778/3.26, allocations: 3.191 MB / 1.724 GB, free: 32.78 MB / 1.279 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.02937/3.29, allocations: 11.21 MB / 1.734 GB, free: 21.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/3.29, allocations: 0 / 1.734 GB, free: 21.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/3.292, allocations: 0.53 MB / 1.735 GB, free: 20.99 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.782e-05/3.292, allocations: 12 kB / 1.735 GB, free: 20.98 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004196/3.293, allocations: 83.94 kB / 1.735 GB, free: 20.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.193e-05/3.293, allocations: 14.98 kB / 1.735 GB, free: 20.89 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/3.293, allocations: 4 kB / 1.735 GB, free: 20.88 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/3.305, allocations: 6.066 MB / 1.741 GB, free: 14.77 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004972/3.31, allocations: 1.472 MB / 1.742 GB, free: 13.27 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00322/3.313, allocations: 59.98 kB / 1.743 GB, free: 13.21 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006587/3.32, allocations: 243.7 kB / 1.743 GB, free: 12.98 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/3.32, allocations: 149.1 kB / 1.743 GB, free: 12.83 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005853/3.321, allocations: 115.9 kB / 1.743 GB, free: 12.72 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01652/3.337, allocations: 6.549 MB / 1.749 GB, free: 6.195 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.61e-07/3.337, allocations: 0 / 1.749 GB, free: 6.195 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01113/3.349, allocations: 2.109 MB / 1.751 GB, free: 4.082 MB / 1.279 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.003581/3.352, allocations: 1.123 MB / 1.753 GB, free: 3.102 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00876/3.361, allocations: 3.82 MB / 1.756 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/3.361, allocations: 0 / 1.756 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004482/3.366, allocations: 1.67 MB / 1.758 GB, free: 13.77 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03241/3.398, allocations: 4.555 MB / 1.762 GB, free: 9.398 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04549/3.444, allocations: 16.37 MB / 1.778 GB, free: 9.102 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01366/3.457, allocations: 5.52 MB / 1.784 GB, free: 3.559 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.01207/3.469, allocations: 2.146 MB / 1.786 GB, free: 1.445 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003488/3.473, allocations: 0.5337 MB / 1.786 GB, free: 0.9141 MB / 1.311 GB Notification: Performance of SimCode: time 2.104e-06/3.473, allocations: 0 / 1.786 GB, free: 0.9141 MB / 1.311 GB Notification: Performance of Templates: time 0.2497/3.723, allocations: 155.6 MB / 1.938 GB, free: 7.434 MB / 1.467 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