Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001903/0.001902, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.002425/0.002425, allocations: 188.8 kB / 16.25 MB, free: 6.586 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 0.8688 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.6125, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2498/0.8624, allocations: 234.3 MB / 1.246 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6006/1.463, allocations: 43.03 MB / 1.288 GB, free: 55.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008487/1.472, allocations: 216.8 kB / 1.288 GB, free: 55.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008463/1.48, allocations: 2.806 MB / 1.291 GB, free: 55.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01955/1.5, allocations: 7.248 MB / 1.298 GB, free: 55.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01225/1.512, allocations: 5.334 MB / 1.303 GB, free: 55.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0307/1.543, allocations: 26.81 MB / 1.329 GB, free: 50.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01512/1.558, allocations: 11.39 MB / 1.34 GB, free: 45.58 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02179/1.58, allocations: 9.643 MB / 1.35 GB, free: 41.26 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/1.591, allocations: 7.087 MB / 1.357 GB, free: 38.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003105/1.594, allocations: 1.054 MB / 1.358 GB, free: 38.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/1.606, allocations: 3.502 MB / 1.361 GB, free: 36.1 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004181/1.61, allocations: 2.638 MB / 1.364 GB, free: 33.72 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009955/1.62, allocations: 5.531 MB / 1.369 GB, free: 28.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02004/1.64, allocations: 18.81 MB / 1.387 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.64, allocations: 0 / 1.387 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/1.64, allocations: 0 / 1.387 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004566/1.641, allocations: 4 kB / 1.387 GB, free: 9.832 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.02279/1.663, allocations: 10.36 MB / 1.397 GB, free: 15.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.663, allocations: 12.03 kB / 1.397 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008511/1.672, allocations: 1.418 MB / 1.399 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02354/1.696, allocations: 11.16 MB / 1.41 GB, free: 3.023 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006644/1.696, allocations: 469.9 kB / 1.41 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/1.698, allocations: 0.5181 MB / 1.411 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/1.721, allocations: 7.325 MB / 1.418 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/1.721, allocations: 11.84 kB / 1.418 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001831/1.723, allocations: 204 kB / 1.418 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002623/1.723, allocations: 201.4 kB / 1.418 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/1.741, allocations: 6.337 MB / 1.424 GB, free: 3.785 MB / 1.029 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.06051/1.801, allocations: 34.53 MB / 1.458 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005728/1.807, allocations: 2.449 MB / 1.461 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/1.811, allocations: 1.803 MB / 1.462 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002083/1.813, allocations: 2.031 MB / 1.464 GB, free: 8.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004171/1.817, allocations: 1.835 MB / 1.466 GB, free: 6.723 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 7.234e-06/1.817, allocations: 0 / 1.466 GB, free: 6.723 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.01187/1.829, allocations: 4.95 MB / 1.471 GB, free: 1.762 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.829, allocations: 80.98 kB / 1.471 GB, free: 1.676 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01776/1.847, allocations: 8.944 MB / 1.48 GB, free: 8.754 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0008726/1.848, allocations: 93.7 kB / 1.48 GB, free: 8.656 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.004846/1.853, allocations: 3.81 MB / 1.484 GB, free: 4.844 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.854, allocations: 0.7724 MB / 1.484 GB, free: 4.078 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.856, allocations: 0.7961 MB / 1.485 GB, free: 3.273 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.856, allocations: 305.1 kB / 1.485 GB, free: 2.973 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/1.86, allocations: 1.685 MB / 1.487 GB, free: 1.285 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005708/1.865, allocations: 3.293 MB / 1.49 GB, free: 13.36 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008692/1.874, allocations: 4.389 MB / 1.495 GB, free: 8.527 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/1.874, allocations: 12 kB / 1.495 GB, free: 8.516 MB / 1.107 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01367/1.888, allocations: 5.152 MB / 1.5 GB, free: 3.309 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/1.888, allocations: 21.88 kB / 1.5 GB, free: 3.289 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.196e-05/1.888, allocations: 28 kB / 1.5 GB, free: 3.262 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-05/1.888, allocations: 48.72 kB / 1.5 GB, free: 3.215 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/1.892, allocations: 0.8503 MB / 1.501 GB, free: 2.363 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.424e-05/1.892, allocations: 71.72 kB / 1.501 GB, free: 2.293 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007709/1.9, allocations: 0.8824 MB / 1.501 GB, free: 1.406 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/1.9, allocations: 167.9 kB / 1.502 GB, free: 1.242 MB / 1.107 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],y1.y[1],chi.com.y1One) * 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.006075/1.906, allocations: 3.062 MB / 1.505 GB, free: 14.17 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002672/1.909, allocations: 0.7292 MB / 1.505 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.92, allocations: 4.153 MB / 1.509 GB, free: 9.285 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/1.92, allocations: 28 kB / 1.509 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.92, allocations: 0 / 1.509 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007109/1.927, allocations: 3.229 MB / 1.513 GB, free: 5.977 MB / 1.123 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.02913/1.957, allocations: 10.98 MB / 1.523 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.957, allocations: 8.031 kB / 1.523 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/1.959, allocations: 0.5344 MB / 1.524 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-05/1.959, allocations: 16 kB / 1.524 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/1.96, allocations: 79.94 kB / 1.524 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.889e-05/1.96, allocations: 15.94 kB / 1.524 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.96, allocations: 0 / 1.524 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/1.973, allocations: 6.115 MB / 1.53 GB, free: 4.09 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004192/1.977, allocations: 1.405 MB / 1.531 GB, free: 2.656 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/1.979, allocations: 63.97 kB / 1.531 GB, free: 2.594 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005339/1.984, allocations: 495 kB / 1.532 GB, free: 2.109 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/1.984, allocations: 145.7 kB / 1.532 GB, free: 1.969 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003701/1.985, allocations: 119.9 kB / 1.532 GB, free: 1.852 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.01351/1.998, allocations: 6.357 MB / 1.538 GB, free: 11.52 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.1e-07/1.998, allocations: 0 / 1.538 GB, free: 11.52 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.008142/2.006, allocations: 2.027 MB / 1.54 GB, free: 9.492 MB / 1.154 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.com.y1One,y1.y[1],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.002831/2.009, allocations: 1.101 MB / 1.541 GB, free: 8.492 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01639/2.026, allocations: 6.113 MB / 1.547 GB, free: 2.383 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/2.026, allocations: 0.5 kB / 1.547 GB, free: 2.383 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004151/2.03, allocations: 1.702 MB / 1.549 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02182/2.052, allocations: 4.552 MB / 1.553 GB, free: 12.32 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03573/2.087, allocations: 18.87 MB / 1.572 GB, free: 9.461 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007712/2.095, allocations: 5.516 MB / 1.577 GB, free: 3.918 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.009777/2.105, allocations: 2.112 MB / 1.579 GB, free: 1.836 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/2.107, allocations: 0.5266 MB / 1.58 GB, free: 1.309 MB / 1.186 GB Notification: Performance of SimCode: time 1.062e-06/2.107, allocations: 0 / 1.58 GB, free: 1.309 MB / 1.186 GB Notification: Performance of Templates: time 0.2729/2.38, allocations: 158.6 MB / 1.735 GB, free: 4.316 MB / 1.342 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches