Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_11_Buildings_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.004715/0.004715, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001332/0.001332, allocations: 201.7 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 71.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2749, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7526/1.028, allocations: 236.4 MB / 1.451 GB, free: 9.102 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.06178/1.089, allocations: 43.33 MB / 1.493 GB, free: 13.68 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007127/1.097, allocations: 234.6 kB / 1.494 GB, free: 13.45 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.008918/1.105, allocations: 3.187 MB / 1.497 GB, free: 10.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0206/1.126, allocations: 7.748 MB / 1.504 GB, free: 2.48 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01336/1.139, allocations: 5.742 MB / 1.51 GB, free: 12.79 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.03532/1.175, allocations: 26.71 MB / 1.536 GB, free: 2.016 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0175/1.192, allocations: 11.5 MB / 1.547 GB, free: 6.395 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02038/1.213, allocations: 9.595 MB / 1.557 GB, free: 12.8 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/1.225, allocations: 6.878 MB / 1.563 GB, free: 5.891 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.003327/1.229, allocations: 1.066 MB / 1.564 GB, free: 4.824 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/1.239, allocations: 3.472 MB / 1.568 GB, free: 1.348 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003884/1.243, allocations: 2.641 MB / 1.57 GB, free: 14.7 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.009014/1.252, allocations: 5.543 MB / 1.576 GB, free: 9.133 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02486/1.277, allocations: 18.47 MB / 1.594 GB, free: 6.605 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.277, allocations: 0 / 1.594 GB, free: 6.605 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.463e-06/1.277, allocations: 0 / 1.594 GB, free: 6.605 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003544/1.277, allocations: 0 / 1.594 GB, free: 6.605 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.02354/1.301, allocations: 10.65 MB / 1.604 GB, free: 11.84 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.301, allocations: 8.031 kB / 1.604 GB, free: 11.84 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001541/1.302, allocations: 0.6698 MB / 1.605 GB, free: 11.16 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007606/1.31, allocations: 1.47 MB / 1.606 GB, free: 9.68 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/1.331, allocations: 11.02 MB / 1.617 GB, free: 14.59 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004999/1.331, allocations: 474 kB / 1.617 GB, free: 14.11 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/1.333, allocations: 0.5194 MB / 1.618 GB, free: 13.59 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/1.348, allocations: 7.334 MB / 1.625 GB, free: 6.082 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/1.349, allocations: 15.89 kB / 1.625 GB, free: 6.066 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006324/1.349, allocations: 200 kB / 1.625 GB, free: 5.871 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/1.349, allocations: 197.4 kB / 1.625 GB, free: 5.676 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/1.363, allocations: 6.349 MB / 1.632 GB, free: 15.31 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 preOpt removeSimpleEquations (simulation): time 0.04868/1.412, allocations: 34.06 MB / 1.665 GB, free: 11.21 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005381/1.418, allocations: 2.446 MB / 1.667 GB, free: 8.75 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003889/1.421, allocations: 1.83 MB / 1.669 GB, free: 6.922 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/1.423, allocations: 2.035 MB / 1.671 GB, free: 4.441 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00407/1.428, allocations: 1.839 MB / 1.673 GB, free: 2.59 MB / 1.357 GB Notification: Performance of pre-optimization done (n=220): time 4.509e-06/1.428, allocations: 0 / 1.673 GB, free: 2.59 MB / 1.357 GB Notification: Performance of matching and sorting (n=220): time 0.01218/1.44, allocations: 4.989 MB / 1.678 GB, free: 13.59 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/1.44, allocations: 77.41 kB / 1.678 GB, free: 13.5 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01558/1.455, allocations: 9.211 MB / 1.687 GB, free: 4.312 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.000676/1.456, allocations: 89.7 kB / 1.687 GB, free: 4.219 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.004794/1.461, allocations: 3.841 MB / 1.691 GB, free: 372 kB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.462, allocations: 0.8059 MB / 1.691 GB, free: 15.55 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/1.464, allocations: 0.8004 MB / 1.692 GB, free: 14.73 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.464, allocations: 309.1 kB / 1.693 GB, free: 14.43 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003715/1.468, allocations: 1.689 MB / 1.694 GB, free: 12.74 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/1.473, allocations: 3.311 MB / 1.697 GB, free: 8.801 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008031/1.481, allocations: 4.393 MB / 1.702 GB, free: 3.949 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/1.481, allocations: 12 kB / 1.702 GB, free: 3.938 MB / 1.389 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01167/1.493, allocations: 5.203 MB / 1.707 GB, free: 14.68 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.493, allocations: 23.98 kB / 1.707 GB, free: 14.66 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/1.493, allocations: 28 kB / 1.707 GB, free: 14.63 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.895e-05/1.493, allocations: 48 kB / 1.707 GB, free: 14.59 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/1.497, allocations: 0.8583 MB / 1.708 GB, free: 13.73 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.673e-05/1.497, allocations: 71.72 kB / 1.708 GB, free: 13.66 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/1.503, allocations: 0.6337 MB / 1.708 GB, free: 13.02 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/1.503, allocations: 164 kB / 1.709 GB, free: 12.86 MB / 1.404 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.005392/1.509, allocations: 3.062 MB / 1.712 GB, free: 9.785 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002132/1.511, allocations: 0.7724 MB / 1.712 GB, free: 9.008 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009579/1.521, allocations: 4.139 MB / 1.716 GB, free: 4.859 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/1.521, allocations: 23.98 kB / 1.716 GB, free: 4.836 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.521, allocations: 4 kB / 1.716 GB, free: 4.832 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006884/1.528, allocations: 3.239 MB / 1.72 GB, free: 1.547 MB / 1.404 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.0229/1.55, allocations: 11.29 MB / 1.731 GB, free: 6.105 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.551, allocations: 12.05 kB / 1.731 GB, free: 6.094 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002831/1.553, allocations: 0.5305 MB / 1.731 GB, free: 5.562 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/1.553, allocations: 12 kB / 1.731 GB, free: 5.551 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/1.554, allocations: 87.94 kB / 1.731 GB, free: 5.465 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/1.554, allocations: 11.98 kB / 1.731 GB, free: 5.453 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.554, allocations: 7.938 kB / 1.731 GB, free: 5.445 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/1.567, allocations: 6.155 MB / 1.737 GB, free: 15.24 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/1.57, allocations: 1.472 MB / 1.739 GB, free: 13.74 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/1.572, allocations: 63.98 kB / 1.739 GB, free: 13.68 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004436/1.576, allocations: 251.6 kB / 1.739 GB, free: 13.43 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/1.577, allocations: 153.7 kB / 1.739 GB, free: 13.28 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003131/1.577, allocations: 115.9 kB / 1.739 GB, free: 13.17 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.012/1.589, allocations: 6.545 MB / 1.746 GB, free: 6.648 MB / 1.436 GB Notification: Performance of sort global known variables: time 4.91e-07/1.589, allocations: 4 kB / 1.746 GB, free: 6.645 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.006901/1.596, allocations: 2.105 MB / 1.748 GB, free: 4.535 MB / 1.436 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.01593/1.612, allocations: 7.741 MB / 1.755 GB, free: 12.76 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.008748/1.621, allocations: 3.868 MB / 1.759 GB, free: 8.895 MB / 1.451 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.621, allocations: 4 kB / 1.759 GB, free: 8.891 MB / 1.451 GB Notification: Performance of simCode: created simulation system equations: time 0.0039/1.625, allocations: 1.694 MB / 1.761 GB, free: 7.195 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02253/1.647, allocations: 4.566 MB / 1.765 GB, free: 2.789 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.063/2.71, allocations: 64.81 MB / 1.828 GB, free: 490.9 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005886/2.716, allocations: 5.515 MB / 1.834 GB, free: 490 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.006914/2.723, allocations: 2.151 MB / 1.836 GB, free: 489.9 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004409/2.727, allocations: 3.365 MB / 1.839 GB, free: 488.5 MB / 1.498 GB Notification: Performance of SimCode: time 1.132e-06/2.727, allocations: 0 / 1.839 GB, free: 488.5 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2704/2.998, allocations: 225.3 MB / 2.059 GB, free: 313.6 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.71/27.71, allocations: 10.42 kB / 2.059 GB, free: 313.6 MB / 1.498 GB (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.csv --start-time 0 --stop-time 1000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches