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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_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.007102/0.007102, allocations: 96.7 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.001514/0.001514, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.583/2.583, allocations: 469.4 MB / 0.7422 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.05 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2764, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.8033/1.08, allocations: 236.4 MB / 1.451 GB, free: 9.652 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.05657/1.136, allocations: 43.32 MB / 1.493 GB, free: 14.24 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008555/1.145, allocations: 230.6 kB / 1.493 GB, free: 14.01 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.009746/1.155, allocations: 3.272 MB / 1.496 GB, free: 10.72 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.02098/1.176, allocations: 8.198 MB / 1.504 GB, free: 2.504 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01278/1.189, allocations: 5.754 MB / 1.51 GB, free: 12.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.03169/1.22, allocations: 26.76 MB / 1.536 GB, free: 1.977 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/1.235, allocations: 11.5 MB / 1.547 GB, free: 6.363 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01872/1.254, allocations: 9.882 MB / 1.557 GB, free: 12.48 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/1.265, allocations: 6.878 MB / 1.564 GB, free: 5.57 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.003016/1.268, allocations: 1.062 MB / 1.565 GB, free: 4.508 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009824/1.278, allocations: 3.468 MB / 1.568 GB, free: 1.035 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003841/1.281, allocations: 2.645 MB / 1.571 GB, free: 14.38 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.009938/1.291, allocations: 5.543 MB / 1.576 GB, free: 8.812 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02319/1.315, allocations: 18.47 MB / 1.594 GB, free: 6.293 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.315, allocations: 0 / 1.594 GB, free: 6.293 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.854e-06/1.315, allocations: 4 kB / 1.594 GB, free: 6.289 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004144/1.315, allocations: 0 / 1.594 GB, free: 6.289 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.02595/1.341, allocations: 10.65 MB / 1.605 GB, free: 11.53 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.341, allocations: 8.031 kB / 1.605 GB, free: 11.52 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002001/1.343, allocations: 0.6737 MB / 1.605 GB, free: 10.84 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00728/1.35, allocations: 1.403 MB / 1.607 GB, free: 9.43 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/1.372, allocations: 11 MB / 1.617 GB, free: 14.35 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005315/1.372, allocations: 477.9 kB / 1.618 GB, free: 13.87 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/1.374, allocations: 0.5233 MB / 1.618 GB, free: 13.35 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/1.391, allocations: 7.28 MB / 1.625 GB, free: 5.895 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/1.391, allocations: 23.83 kB / 1.625 GB, free: 5.871 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009876/1.392, allocations: 196 kB / 1.626 GB, free: 5.68 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/1.392, allocations: 205.3 kB / 1.626 GB, free: 5.477 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/1.407, allocations: 6.267 MB / 1.632 GB, free: 15.2 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.05042/1.457, allocations: 33.92 MB / 1.665 GB, free: 11.24 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004879/1.462, allocations: 2.396 MB / 1.667 GB, free: 8.832 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003539/1.466, allocations: 1.803 MB / 1.669 GB, free: 7.027 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/1.467, allocations: 2.032 MB / 1.671 GB, free: 4.551 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003829/1.471, allocations: 1.815 MB / 1.673 GB, free: 2.727 MB / 1.357 GB Notification: Performance of pre-optimization done (n=220): time 5.19e-06/1.471, allocations: 0 / 1.673 GB, free: 2.727 MB / 1.357 GB Notification: Performance of matching and sorting (n=220): time 0.01195/1.483, allocations: 4.907 MB / 1.678 GB, free: 13.81 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/1.483, allocations: 77.41 kB / 1.678 GB, free: 13.72 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01766/1.501, allocations: 9.211 MB / 1.687 GB, free: 4.531 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.0007676/1.502, allocations: 93.64 kB / 1.687 GB, free: 4.434 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.004977/1.507, allocations: 3.841 MB / 1.691 GB, free: 0.5781 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.508, allocations: 0.802 MB / 1.691 GB, free: 15.77 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/1.51, allocations: 0.8044 MB / 1.692 GB, free: 14.95 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/1.51, allocations: 301.1 kB / 1.692 GB, free: 14.66 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/1.513, allocations: 1.665 MB / 1.694 GB, free: 12.99 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/1.518, allocations: 3.28 MB / 1.697 GB, free: 9.082 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007566/1.526, allocations: 4.358 MB / 1.702 GB, free: 4.266 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/1.526, allocations: 8 kB / 1.702 GB, free: 4.258 MB / 1.389 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01224/1.538, allocations: 5.144 MB / 1.707 GB, free: 15.06 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/1.538, allocations: 16 kB / 1.707 GB, free: 15.04 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.705e-05/1.538, allocations: 32 kB / 1.707 GB, free: 15.01 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.893e-05/1.538, allocations: 52.8 kB / 1.707 GB, free: 14.96 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/1.542, allocations: 0.8463 MB / 1.707 GB, free: 14.11 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.217e-05/1.542, allocations: 67.78 kB / 1.708 GB, free: 14.05 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007455/1.549, allocations: 0.6257 MB / 1.708 GB, free: 13.42 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007582/1.55, allocations: 168 kB / 1.708 GB, free: 13.25 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.006178/1.556, allocations: 3.058 MB / 1.711 GB, free: 10.18 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002698/1.559, allocations: 0.7646 MB / 1.712 GB, free: 9.414 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008882/1.568, allocations: 4.1 MB / 1.716 GB, free: 5.309 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/1.568, allocations: 24 kB / 1.716 GB, free: 5.285 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.568, allocations: 3.938 kB / 1.716 GB, free: 5.281 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005752/1.574, allocations: 3.181 MB / 1.719 GB, free: 2.047 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.02344/1.597, allocations: 11.21 MB / 1.73 GB, free: 6.691 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.597, allocations: 4 kB / 1.73 GB, free: 6.688 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/1.6, allocations: 0.5346 MB / 1.731 GB, free: 6.152 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/1.6, allocations: 8 kB / 1.731 GB, free: 6.145 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.6, allocations: 79.94 kB / 1.731 GB, free: 6.066 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/1.6, allocations: 15.98 kB / 1.731 GB, free: 6.051 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.6, allocations: 3.938 kB / 1.731 GB, free: 6.047 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.612, allocations: 6.068 MB / 1.737 GB, free: 15.93 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005745/1.618, allocations: 1.472 MB / 1.738 GB, free: 14.43 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002249/1.62, allocations: 63.98 kB / 1.738 GB, free: 14.37 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00466/1.625, allocations: 243.6 kB / 1.738 GB, free: 14.13 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/1.625, allocations: 145.7 kB / 1.739 GB, free: 13.98 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/1.625, allocations: 119.9 kB / 1.739 GB, free: 13.87 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.01327/1.639, allocations: 6.549 MB / 1.745 GB, free: 7.344 MB / 1.436 GB Notification: Performance of sort global known variables: time 8.02e-07/1.639, allocations: 0 / 1.745 GB, free: 7.344 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.007804/1.647, allocations: 2.101 MB / 1.747 GB, free: 5.238 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.01459/1.661, allocations: 7.66 MB / 1.755 GB, free: 13.55 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.007819/1.669, allocations: 3.824 MB / 1.758 GB, free: 9.727 MB / 1.451 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.669, allocations: 0 / 1.758 GB, free: 9.727 MB / 1.451 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/1.672, allocations: 1.659 MB / 1.76 GB, free: 8.062 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0231/1.696, allocations: 4.562 MB / 1.764 GB, free: 3.645 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.251/2.947, allocations: 64.63 MB / 1.828 GB, free: 492.6 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009434/2.956, allocations: 5.523 MB / 1.833 GB, free: 491.8 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.008858/2.965, allocations: 2.143 MB / 1.835 GB, free: 491.7 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006347/2.972, allocations: 3.366 MB / 1.838 GB, free: 490.8 MB / 1.498 GB Notification: Performance of SimCode: time 1.122e-06/2.972, allocations: 0.6875 kB / 1.838 GB, free: 490.8 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2806/3.252, allocations: 225.1 MB / 2.058 GB, free: 316.7 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.2/29.46, allocations: 15.75 kB / 2.058 GB, free: 316.7 MB / 1.498 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.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_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.csv","/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