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.001524/0.001524, allocations: 102.2 kB / 16.27 MB, free: 6 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.001514/0.001514, allocations: 191 kB / 17.2 MB, free: 5.609 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.606/2.606, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 69.05 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8242, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2446/1.069, allocations: 236.6 MB / 1.314 GB, free: 1.719 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.06323/1.132, allocations: 43.33 MB / 1.356 GB, free: 6.297 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007721/1.14, allocations: 230.6 kB / 1.356 GB, free: 6.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009523/1.149, allocations: 3.175 MB / 1.36 GB, free: 2.879 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02397/1.173, allocations: 7.684 MB / 1.367 GB, free: 11.17 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01329/1.187, allocations: 5.666 MB / 1.373 GB, free: 5.547 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.03537/1.222, allocations: 26.38 MB / 1.398 GB, free: 11.1 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01734/1.24, allocations: 11.43 MB / 1.41 GB, free: 15.56 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02119/1.261, allocations: 9.806 MB / 1.419 GB, free: 5.75 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01194/1.273, allocations: 6.695 MB / 1.426 GB, free: 15.03 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.003602/1.276, allocations: 1.047 MB / 1.427 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/1.29, allocations: 3.445 MB / 1.43 GB, free: 10.53 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.005148/1.295, allocations: 2.594 MB / 1.433 GB, free: 7.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01223/1.307, allocations: 5.477 MB / 1.438 GB, free: 2.43 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02643/1.334, allocations: 18.02 MB / 1.456 GB, free: 368 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/1.334, allocations: 0 / 1.456 GB, free: 368 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/1.334, allocations: 0 / 1.456 GB, free: 368 kB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004796/1.334, allocations: 7.984 kB / 1.456 GB, free: 360 kB / 1.17 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.02501/1.359, allocations: 10.22 MB / 1.465 GB, free: 6.02 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.359, allocations: 12.02 kB / 1.466 GB, free: 6.008 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007861/1.367, allocations: 1.402 MB / 1.467 GB, free: 4.594 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02133/1.388, allocations: 10.41 MB / 1.477 GB, free: 10.11 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006148/1.389, allocations: 466 kB / 1.477 GB, free: 9.633 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/1.391, allocations: 0.5155 MB / 1.478 GB, free: 9.117 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/1.41, allocations: 7.345 MB / 1.485 GB, free: 1.598 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/1.41, allocations: 11.94 kB / 1.485 GB, free: 1.586 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008006/1.411, allocations: 200 kB / 1.485 GB, free: 1.391 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/1.411, allocations: 147.9 kB / 1.486 GB, free: 1.246 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/1.427, allocations: 6.364 MB / 1.492 GB, free: 10.87 MB / 1.217 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.06339/1.49, allocations: 34.75 MB / 1.526 GB, free: 5.926 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006409/1.497, allocations: 2.602 MB / 1.528 GB, free: 3.309 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/1.501, allocations: 1.824 MB / 1.53 GB, free: 1.488 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/1.503, allocations: 2.032 MB / 1.532 GB, free: 15.02 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004101/1.507, allocations: 1.885 MB / 1.534 GB, free: 13.11 MB / 1.264 GB Notification: Performance of pre-optimization done (n=212): time 5.009e-06/1.507, allocations: 0 / 1.534 GB, free: 13.11 MB / 1.264 GB Notification: Performance of matching and sorting (n=212): time 0.01281/1.52, allocations: 5.09 MB / 1.539 GB, free: 8.012 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.52, allocations: 77.41 kB / 1.539 GB, free: 7.926 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9669/2.487, allocations: 9.1 MB / 1.548 GB, free: 409.6 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007092/2.487, allocations: 86.78 kB / 1.548 GB, free: 409.6 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.004748/2.492, allocations: 3.765 MB / 1.551 GB, free: 407.8 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001285/2.493, allocations: 0.7438 MB / 1.552 GB, free: 407.6 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/2.495, allocations: 0.7742 MB / 1.553 GB, free: 407.2 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/2.495, allocations: 309.9 kB / 1.553 GB, free: 406.9 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/2.499, allocations: 1.731 MB / 1.555 GB, free: 406.3 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004881/2.504, allocations: 3.344 MB / 1.558 GB, free: 404 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007845/2.511, allocations: 4.418 MB / 1.563 GB, free: 401.4 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.624e-05/2.511, allocations: 12.02 kB / 1.563 GB, free: 401.4 MB / 1.264 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01241/2.524, allocations: 5.206 MB / 1.568 GB, free: 399.4 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/2.524, allocations: 17.62 kB / 1.568 GB, free: 399.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.162e-05/2.524, allocations: 31.97 kB / 1.568 GB, free: 399.4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.317e-05/2.524, allocations: 47.81 kB / 1.568 GB, free: 399.4 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/2.527, allocations: 0.8313 MB / 1.569 GB, free: 399.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.56e-05/2.528, allocations: 67.36 kB / 1.569 GB, free: 399.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006353/2.534, allocations: 0.6451 MB / 1.569 GB, free: 399.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004912/2.534, allocations: 156.8 kB / 1.569 GB, free: 399 MB / 1.264 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.005721/2.54, allocations: 3.009 MB / 1.572 GB, free: 397.6 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002341/2.543, allocations: 0.7226 MB / 1.573 GB, free: 397.2 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/2.553, allocations: 4.22 MB / 1.577 GB, free: 395.8 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/2.553, allocations: 27.83 kB / 1.577 GB, free: 395.8 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/2.553, allocations: 0.75 kB / 1.577 GB, free: 395.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006605/2.56, allocations: 3.316 MB / 1.58 GB, free: 394.5 MB / 1.264 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.02371/2.583, allocations: 11.31 MB / 1.591 GB, free: 389.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/2.583, allocations: 4.266 kB / 1.591 GB, free: 389.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/2.586, allocations: 0.5619 MB / 1.592 GB, free: 389.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.164e-05/2.586, allocations: 11.41 kB / 1.592 GB, free: 389.8 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/2.586, allocations: 82.02 kB / 1.592 GB, free: 389.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.942e-05/2.586, allocations: 8.875 kB / 1.592 GB, free: 389.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.586, allocations: 2.844 kB / 1.592 GB, free: 389.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/2.599, allocations: 6.282 MB / 1.598 GB, free: 387.2 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00391/2.603, allocations: 1.412 MB / 1.6 GB, free: 386.3 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002165/2.605, allocations: 54.78 kB / 1.6 GB, free: 386.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005096/2.61, allocations: 282.9 kB / 1.6 GB, free: 386.3 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004028/2.611, allocations: 145.8 kB / 1.6 GB, free: 386.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000383/2.611, allocations: 113.1 kB / 1.6 GB, free: 386.2 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01246/2.623, allocations: 6.48 MB / 1.607 GB, free: 383.3 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.352e-06/2.623, allocations: 0 / 1.607 GB, free: 383.3 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.007617/2.631, allocations: 2.08 MB / 1.609 GB, free: 383 MB / 1.264 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.002351/2.633, allocations: 1.116 MB / 1.61 GB, free: 382.7 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01279/2.646, allocations: 5.863 MB / 1.615 GB, free: 380.8 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/2.646, allocations: 3.594 kB / 1.615 GB, free: 380.8 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/2.65, allocations: 1.822 MB / 1.617 GB, free: 379.9 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02096/2.671, allocations: 4.604 MB / 1.622 GB, free: 377.8 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/2.696, allocations: 15.67 MB / 1.637 GB, free: 364.4 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005619/2.702, allocations: 5.195 MB / 1.642 GB, free: 359.1 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/2.704, allocations: 0.5695 MB / 1.643 GB, free: 358.6 MB / 1.264 GB Notification: Performance of SimCode: time 7.21e-07/2.704, allocations: 0 / 1.643 GB, free: 358.6 MB / 1.264 GB Notification: Performance of Templates: time 0.1591/2.864, allocations: 149.5 MB / 1.789 GB, free: 209.8 MB / 1.264 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/jenkins1/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