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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007205/0.007205, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001911/0.001911, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 59.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2835, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.8002/1.084, allocations: 236.5 MB / 1.397 GB, free: 8.609 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.06251/1.146, allocations: 43.38 MB / 1.439 GB, free: 2.391 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009015/1.155, allocations: 234.6 kB / 1.44 GB, free: 2.16 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009613/1.165, allocations: 3.196 MB / 1.443 GB, free: 14.95 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.02175/1.187, allocations: 7.745 MB / 1.45 GB, free: 7.18 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01357/1.2, allocations: 5.731 MB / 1.456 GB, free: 1.496 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.03673/1.237, allocations: 26.73 MB / 1.482 GB, free: 6.711 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01713/1.254, allocations: 11.51 MB / 1.493 GB, free: 11.09 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02072/1.275, allocations: 9.583 MB / 1.503 GB, free: 1.504 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01258/1.288, allocations: 6.878 MB / 1.509 GB, free: 10.6 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.003628/1.291, allocations: 1.066 MB / 1.51 GB, free: 9.531 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/1.302, allocations: 3.48 MB / 1.514 GB, free: 6.047 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.004719/1.307, allocations: 2.641 MB / 1.516 GB, free: 3.398 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01077/1.318, allocations: 5.547 MB / 1.522 GB, free: 13.83 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02928/1.347, allocations: 19.03 MB / 1.54 GB, free: 10.75 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.347, allocations: 0 / 1.54 GB, free: 10.75 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.693e-06/1.347, allocations: 0 / 1.54 GB, free: 10.75 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0004491/1.348, allocations: 0 / 1.54 GB, free: 10.75 MB / 1.201 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.02509/1.373, allocations: 10.67 MB / 1.551 GB, free: 15.96 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.373, allocations: 12.03 kB / 1.551 GB, free: 15.95 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001916/1.375, allocations: 0.6698 MB / 1.551 GB, free: 15.27 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007075/1.382, allocations: 1.407 MB / 1.553 GB, free: 13.86 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02191/1.404, allocations: 11.05 MB / 1.564 GB, free: 2.742 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/1.404, allocations: 474.1 kB / 1.564 GB, free: 2.266 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/1.406, allocations: 0.5194 MB / 1.565 GB, free: 1.746 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/1.424, allocations: 7.268 MB / 1.572 GB, free: 10.3 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/1.424, allocations: 11.94 kB / 1.572 GB, free: 10.29 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007954/1.425, allocations: 208 kB / 1.572 GB, free: 10.09 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002127/1.425, allocations: 197.4 kB / 1.572 GB, free: 9.891 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/1.44, allocations: 6.247 MB / 1.578 GB, free: 3.629 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 preOpt removeSimpleEquations (simulation): time 0.05603/1.496, allocations: 33.96 MB / 1.611 GB, free: 15.62 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/1.502, allocations: 2.396 MB / 1.614 GB, free: 13.23 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003744/1.506, allocations: 1.803 MB / 1.615 GB, free: 11.43 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/1.508, allocations: 2.035 MB / 1.617 GB, free: 8.949 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004013/1.512, allocations: 1.796 MB / 1.619 GB, free: 7.145 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 5.079e-06/1.512, allocations: 8 kB / 1.619 GB, free: 7.137 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01217/1.524, allocations: 4.907 MB / 1.624 GB, free: 2.223 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/1.524, allocations: 73.41 kB / 1.624 GB, free: 2.137 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01853/1.543, allocations: 9.22 MB / 1.633 GB, free: 8.934 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0008735/1.544, allocations: 89.7 kB / 1.633 GB, free: 8.84 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.006004/1.55, allocations: 3.841 MB / 1.637 GB, free: 4.988 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.551, allocations: 0.8135 MB / 1.638 GB, free: 4.168 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001739/1.553, allocations: 0.7965 MB / 1.638 GB, free: 3.363 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.553, allocations: 309.1 kB / 1.639 GB, free: 3.059 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/1.557, allocations: 1.658 MB / 1.64 GB, free: 1.398 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005331/1.562, allocations: 3.28 MB / 1.644 GB, free: 13.49 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008362/1.571, allocations: 4.358 MB / 1.648 GB, free: 8.668 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/1.571, allocations: 8 kB / 1.648 GB, free: 8.66 MB / 1.311 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.0125/1.583, allocations: 5.151 MB / 1.653 GB, free: 3.457 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/1.583, allocations: 21 kB / 1.653 GB, free: 3.438 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/1.583, allocations: 28 kB / 1.653 GB, free: 3.41 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.219e-05/1.583, allocations: 56 kB / 1.653 GB, free: 3.355 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/1.587, allocations: 0.8425 MB / 1.654 GB, free: 2.512 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.676e-05/1.587, allocations: 67.78 kB / 1.654 GB, free: 2.445 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006288/1.593, allocations: 0.6454 MB / 1.655 GB, free: 1.797 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006355/1.594, allocations: 160 kB / 1.655 GB, free: 1.641 MB / 1.311 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.005963/1.6, allocations: 3.062 MB / 1.658 GB, free: 14.56 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002673/1.603, allocations: 0.7646 MB / 1.658 GB, free: 13.79 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.613, allocations: 4.086 MB / 1.662 GB, free: 9.715 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/1.613, allocations: 31.98 kB / 1.662 GB, free: 9.684 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.613, allocations: 0 / 1.662 GB, free: 9.684 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00657/1.619, allocations: 3.184 MB / 1.666 GB, free: 6.445 MB / 1.326 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.02411/1.644, allocations: 11.23 MB / 1.676 GB, free: 11.07 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.644, allocations: 7.984 kB / 1.677 GB, free: 11.07 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/1.646, allocations: 0.5269 MB / 1.677 GB, free: 10.54 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-05/1.646, allocations: 8 kB / 1.677 GB, free: 10.53 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/1.646, allocations: 95.86 kB / 1.677 GB, free: 10.44 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/1.646, allocations: 8 kB / 1.677 GB, free: 10.43 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.646, allocations: 7.938 kB / 1.677 GB, free: 10.42 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.66, allocations: 6.062 MB / 1.683 GB, free: 4.305 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004386/1.664, allocations: 1.484 MB / 1.684 GB, free: 2.797 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002132/1.666, allocations: 59.97 kB / 1.685 GB, free: 2.738 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004997/1.671, allocations: 247.6 kB / 1.685 GB, free: 2.496 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/1.672, allocations: 141.7 kB / 1.685 GB, free: 2.355 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003579/1.672, allocations: 119.8 kB / 1.685 GB, free: 2.238 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01391/1.686, allocations: 6.561 MB / 1.691 GB, free: 11.7 MB / 1.357 GB Notification: Performance of sort global known variables: time 7.22e-07/1.686, allocations: 4 kB / 1.691 GB, free: 11.7 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.007944/1.694, allocations: 2.098 MB / 1.694 GB, free: 9.598 MB / 1.357 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.0165/1.71, allocations: 7.685 MB / 1.701 GB, free: 1.895 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.008262/1.719, allocations: 3.811 MB / 1.705 GB, free: 14.09 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.719, allocations: 4 kB / 1.705 GB, free: 14.08 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003417/1.722, allocations: 1.672 MB / 1.706 GB, free: 12.41 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02016/1.742, allocations: 4.573 MB / 1.711 GB, free: 7.996 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1298/1.872, allocations: 64.66 MB / 1.774 GB, free: 6.09 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008682/1.881, allocations: 5.518 MB / 1.779 GB, free: 0.543 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.008014/1.889, allocations: 2.14 MB / 1.781 GB, free: 14.43 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007043/1.896, allocations: 3.369 MB / 1.785 GB, free: 11.06 MB / 1.451 GB Notification: Performance of SimCode: time 9.22e-07/1.896, allocations: 4 kB / 1.785 GB, free: 11.06 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.339/3.235, allocations: 226.1 MB / 2.006 GB, free: 375.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.58/28.82, allocations: 7.984 kB / 2.006 GB, free: 375.7 MB / 1.467 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/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