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.001886/0.001886, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.842/2.842, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 77.61 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2564, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6869/0.9433, allocations: 236.4 MB / 1.295 GB, free: 48.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04432/0.9876, allocations: 43.34 MB / 1.337 GB, free: 46.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006179/0.9938, allocations: 233.8 kB / 1.337 GB, free: 46.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005849/0.9997, allocations: 3.182 MB / 1.341 GB, free: 45.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01541/1.015, allocations: 7.756 MB / 1.348 GB, free: 41.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009927/1.025, allocations: 5.684 MB / 1.354 GB, free: 39.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01961/1.045, allocations: 26.64 MB / 1.38 GB, free: 24.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/1.055, allocations: 11.51 MB / 1.391 GB, free: 18.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/1.068, allocations: 9.545 MB / 1.4 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006559/1.075, allocations: 6.871 MB / 1.407 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/1.076, allocations: 1.066 MB / 1.408 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006996/1.083, allocations: 3.475 MB / 1.411 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002802/1.086, allocations: 2.638 MB / 1.414 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006783/1.093, allocations: 5.548 MB / 1.419 GB, free: 6.824 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02057/1.113, allocations: 18.24 MB / 1.437 GB, free: 5.008 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.113, allocations: 0 / 1.437 GB, free: 5.008 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.979e-06/1.113, allocations: 0 / 1.437 GB, free: 5.008 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001669/1.113, allocations: 3.938 kB / 1.437 GB, free: 5.004 MB / 1.029 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.01853/1.132, allocations: 10.36 MB / 1.447 GB, free: 10.64 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.132, allocations: 8.031 kB / 1.447 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000999/1.133, allocations: 0.6698 MB / 1.448 GB, free: 9.957 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006769/1.14, allocations: 1.422 MB / 1.449 GB, free: 8.523 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/1.157, allocations: 10.58 MB / 1.46 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/1.157, allocations: 468.8 kB / 1.46 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009526/1.158, allocations: 0.5224 MB / 1.461 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/1.172, allocations: 7.329 MB / 1.468 GB, free: 5.578 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/1.172, allocations: 11.84 kB / 1.468 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005459/1.172, allocations: 210.3 kB / 1.468 GB, free: 5.363 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/1.173, allocations: 201.3 kB / 1.468 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/1.185, allocations: 6.353 MB / 1.474 GB, free: 14.8 MB / 1.076 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.04412/1.229, allocations: 34.27 MB / 1.508 GB, free: 10.8 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00512/1.235, allocations: 2.443 MB / 1.51 GB, free: 8.352 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003743/1.238, allocations: 1.803 MB / 1.512 GB, free: 6.555 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/1.24, allocations: 2.039 MB / 1.514 GB, free: 4.086 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003889/1.244, allocations: 1.835 MB / 1.516 GB, free: 2.234 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 4.188e-06/1.244, allocations: 0 / 1.516 GB, free: 2.234 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.01128/1.256, allocations: 4.946 MB / 1.521 GB, free: 13.28 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/1.256, allocations: 77.41 kB / 1.521 GB, free: 13.19 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/1.269, allocations: 9.207 MB / 1.53 GB, free: 4.004 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.269, allocations: 89.7 kB / 1.53 GB, free: 3.91 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.004358/1.274, allocations: 3.809 MB / 1.534 GB, free: 104 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009224/1.275, allocations: 0.7841 MB / 1.534 GB, free: 15.33 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/1.276, allocations: 0.7961 MB / 1.535 GB, free: 14.53 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.276, allocations: 305.1 kB / 1.535 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003665/1.28, allocations: 1.689 MB / 1.537 GB, free: 12.54 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00537/1.285, allocations: 3.315 MB / 1.54 GB, free: 8.59 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008187/1.293, allocations: 4.393 MB / 1.545 GB, free: 3.738 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.293, allocations: 12 kB / 1.545 GB, free: 3.727 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01068/1.304, allocations: 5.159 MB / 1.55 GB, free: 14.52 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/1.304, allocations: 21.88 kB / 1.55 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/1.304, allocations: 28 kB / 1.55 GB, free: 14.47 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.92e-05/1.304, allocations: 48.72 kB / 1.55 GB, free: 14.42 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/1.308, allocations: 0.858 MB / 1.551 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.529e-05/1.308, allocations: 67.73 kB / 1.551 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/1.313, allocations: 0.6326 MB / 1.551 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/1.313, allocations: 160 kB / 1.551 GB, free: 12.7 MB / 1.154 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.004353/1.318, allocations: 3.062 MB / 1.554 GB, free: 9.625 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.319, allocations: 0.7331 MB / 1.555 GB, free: 8.883 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008934/1.328, allocations: 4.145 MB / 1.559 GB, free: 4.738 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/1.328, allocations: 27.98 kB / 1.559 GB, free: 4.711 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.328, allocations: 7.938 kB / 1.559 GB, free: 4.703 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006836/1.335, allocations: 3.227 MB / 1.562 GB, free: 1.43 MB / 1.154 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.01885/1.354, allocations: 11.3 MB / 1.573 GB, free: 6.047 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.354, allocations: 4 kB / 1.573 GB, free: 6.043 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002775/1.356, allocations: 0.5422 MB / 1.574 GB, free: 5.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/1.356, allocations: 12 kB / 1.574 GB, free: 5.488 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/1.357, allocations: 79.94 kB / 1.574 GB, free: 5.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/1.357, allocations: 16 kB / 1.574 GB, free: 5.395 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.357, allocations: 7.875 kB / 1.574 GB, free: 5.387 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/1.369, allocations: 6.11 MB / 1.58 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/1.371, allocations: 1.44 MB / 1.581 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000871/1.372, allocations: 63.98 kB / 1.581 GB, free: 13.69 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003629/1.376, allocations: 259.5 kB / 1.582 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.376, allocations: 153.7 kB / 1.582 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.377, allocations: 111.9 kB / 1.582 GB, free: 13.18 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.009756/1.386, allocations: 6.557 MB / 1.588 GB, free: 6.645 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.61e-07/1.386, allocations: 0 / 1.588 GB, free: 6.645 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.005144/1.391, allocations: 2.082 MB / 1.59 GB, free: 4.559 MB / 1.186 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.0142/1.406, allocations: 7.687 MB / 1.598 GB, free: 12.88 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01453/1.42, allocations: 6.125 MB / 1.604 GB, free: 6.758 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.42, allocations: 4 kB / 1.604 GB, free: 6.754 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00347/1.424, allocations: 1.694 MB / 1.606 GB, free: 5.062 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01765/1.441, allocations: 4.574 MB / 1.61 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1203/1.562, allocations: 90.28 MB / 1.698 GB, free: 15.25 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006068/1.568, allocations: 5.522 MB / 1.704 GB, free: 9.699 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.007554/1.575, allocations: 2.152 MB / 1.706 GB, free: 7.578 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005165/1.581, allocations: 3.362 MB / 1.709 GB, free: 4.219 MB / 1.311 GB Notification: Performance of SimCode: time 6.21e-07/1.581, allocations: 4 kB / 1.709 GB, free: 4.215 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.334/4.914, allocations: 230.7 MB / 1.934 GB, free: 384.6 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/18.48, allocations: 7.812 kB / 1.934 GB, free: 384.6 MB / 1.357 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