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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00766/0.00766, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001558/0.001558, allocations: 197.7 kB / 16.67 MB, free: 5.906 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.914/2.914, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4034, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 1.182/1.585, allocations: 236.4 MB / 1.439 GB, free: 10.45 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.07372/1.659, allocations: 43.32 MB / 1.481 GB, free: 15.04 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01597/1.675, allocations: 238.6 kB / 1.481 GB, free: 14.8 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01305/1.688, allocations: 3.278 MB / 1.484 GB, free: 11.51 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02985/1.718, allocations: 8.185 MB / 1.492 GB, free: 3.305 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01689/1.735, allocations: 5.763 MB / 1.498 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.04886/1.784, allocations: 26.74 MB / 1.524 GB, free: 2.777 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02218/1.806, allocations: 11.5 MB / 1.535 GB, free: 7.16 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03316/1.839, allocations: 9.881 MB / 1.545 GB, free: 13.28 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01712/1.856, allocations: 6.874 MB / 1.552 GB, free: 6.379 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.005505/1.862, allocations: 1.066 MB / 1.553 GB, free: 5.312 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01621/1.878, allocations: 3.476 MB / 1.556 GB, free: 1.832 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.006359/1.884, allocations: 2.64 MB / 1.559 GB, free: 15.18 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.014/1.898, allocations: 5.547 MB / 1.564 GB, free: 9.613 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.0312/1.93, allocations: 18.41 MB / 1.582 GB, free: 7.152 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.93, allocations: 4 kB / 1.582 GB, free: 7.148 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.653e-06/1.93, allocations: 0 / 1.582 GB, free: 7.148 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0006291/1.93, allocations: 0 / 1.582 GB, free: 7.148 MB / 1.264 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.035/1.965, allocations: 10.36 MB / 1.592 GB, free: 12.69 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.965, allocations: 12.62 kB / 1.592 GB, free: 12.68 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009885/1.975, allocations: 1.359 MB / 1.594 GB, free: 11.31 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02503/2, allocations: 10.95 MB / 1.604 GB, free: 284 kB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006212/2.001, allocations: 462.2 kB / 1.605 GB, free: 15.81 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/2.003, allocations: 0.531 MB / 1.605 GB, free: 15.28 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/2.021, allocations: 7.284 MB / 1.612 GB, free: 7.824 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/2.021, allocations: 7.938 kB / 1.612 GB, free: 7.816 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000588/2.021, allocations: 204 kB / 1.612 GB, free: 7.617 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/2.022, allocations: 201.3 kB / 1.613 GB, free: 7.418 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/2.035, allocations: 6.259 MB / 1.619 GB, free: 1.145 MB / 1.295 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.0593/2.094, allocations: 33.87 MB / 1.652 GB, free: 13.23 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005202/2.1, allocations: 2.388 MB / 1.654 GB, free: 10.84 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003676/2.103, allocations: 1.807 MB / 1.656 GB, free: 9.027 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/2.106, allocations: 2.032 MB / 1.658 GB, free: 6.559 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003635/2.109, allocations: 1.803 MB / 1.66 GB, free: 4.742 MB / 1.342 GB Notification: Performance of pre-optimization done (n=220): time 4.969e-06/2.109, allocations: 4 kB / 1.66 GB, free: 4.738 MB / 1.342 GB Notification: Performance of matching and sorting (n=220): time 0.01209/2.121, allocations: 4.868 MB / 1.664 GB, free: 15.86 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/2.121, allocations: 81.41 kB / 1.665 GB, free: 15.77 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01888/2.14, allocations: 9.211 MB / 1.674 GB, free: 6.578 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/2.141, allocations: 89.7 kB / 1.674 GB, free: 6.484 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.004956/2.146, allocations: 3.776 MB / 1.677 GB, free: 2.688 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001657/2.148, allocations: 0.782 MB / 1.678 GB, free: 1.895 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/2.149, allocations: 0.7922 MB / 1.679 GB, free: 1.094 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/2.15, allocations: 305.1 kB / 1.679 GB, free: 0.793 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/2.153, allocations: 1.665 MB / 1.681 GB, free: 15.12 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/2.158, allocations: 3.284 MB / 1.684 GB, free: 11.21 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007546/2.165, allocations: 4.354 MB / 1.688 GB, free: 6.395 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/2.165, allocations: 8 kB / 1.688 GB, free: 6.387 MB / 1.373 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.0116/2.177, allocations: 5.125 MB / 1.693 GB, free: 1.207 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/2.177, allocations: 20 kB / 1.693 GB, free: 1.188 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/2.177, allocations: 32 kB / 1.693 GB, free: 1.156 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.119e-05/2.177, allocations: 48 kB / 1.693 GB, free: 1.109 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/2.18, allocations: 0.8311 MB / 1.694 GB, free: 284 kB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.275e-05/2.18, allocations: 71.78 kB / 1.694 GB, free: 212 kB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008423/2.189, allocations: 0.6247 MB / 1.695 GB, free: 15.58 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004848/2.189, allocations: 160 kB / 1.695 GB, free: 15.42 MB / 1.389 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.007383/2.197, allocations: 3.066 MB / 1.698 GB, free: 12.34 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003672/2.2, allocations: 0.7254 MB / 1.699 GB, free: 11.61 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/2.211, allocations: 4.091 MB / 1.703 GB, free: 7.516 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/2.211, allocations: 20 kB / 1.703 GB, free: 7.496 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/2.211, allocations: 0 / 1.703 GB, free: 7.496 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006018/2.217, allocations: 3.192 MB / 1.706 GB, free: 4.254 MB / 1.389 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.0288/2.246, allocations: 11.19 MB / 1.717 GB, free: 8.91 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/2.246, allocations: 256 / 1.717 GB, free: 8.91 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/2.249, allocations: 0.5344 MB / 1.717 GB, free: 8.375 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-05/2.249, allocations: 12 kB / 1.717 GB, free: 8.363 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003383/2.249, allocations: 83.94 kB / 1.717 GB, free: 8.281 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/2.249, allocations: 8 kB / 1.717 GB, free: 8.273 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/2.249, allocations: 11.98 kB / 1.717 GB, free: 8.262 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/2.263, allocations: 6.022 MB / 1.723 GB, free: 2.172 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005713/2.268, allocations: 1.433 MB / 1.725 GB, free: 0.7109 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003336/2.272, allocations: 59.98 kB / 1.725 GB, free: 0.6523 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006121/2.278, allocations: 243.5 kB / 1.725 GB, free: 424 kB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/2.278, allocations: 161.7 kB / 1.725 GB, free: 264 kB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004421/2.279, allocations: 123.8 kB / 1.725 GB, free: 140 kB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01585/2.295, allocations: 6.545 MB / 1.732 GB, free: 9.617 MB / 1.42 GB Notification: Performance of sort global known variables: time 2.9e-07/2.295, allocations: 0 / 1.732 GB, free: 9.617 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.01012/2.305, allocations: 2.086 MB / 1.734 GB, free: 7.527 MB / 1.42 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.003154/2.308, allocations: 1.105 MB / 1.735 GB, free: 6.441 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.009022/2.317, allocations: 3.816 MB / 1.738 GB, free: 2.629 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/2.317, allocations: 0 / 1.738 GB, free: 2.629 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.003787/2.321, allocations: 1.668 MB / 1.74 GB, free: 0.9609 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02712/2.348, allocations: 4.569 MB / 1.745 GB, free: 12.54 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03791/2.386, allocations: 16.11 MB / 1.76 GB, free: 12.38 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006816/2.393, allocations: 5.514 MB / 1.766 GB, free: 6.844 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.009327/2.402, allocations: 2.15 MB / 1.768 GB, free: 4.723 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/2.405, allocations: 0.5383 MB / 1.768 GB, free: 4.184 MB / 1.451 GB Notification: Performance of SimCode: time 9.22e-07/2.405, allocations: 0 / 1.768 GB, free: 4.184 MB / 1.451 GB Notification: Performance of Templates: time 1.812/4.217, allocations: 155.6 MB / 1.92 GB, free: 465.6 MB / 1.498 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