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.00124/0.00124, 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.001283/0.001283, allocations: 193.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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.378/2.378, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/0.5356, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2167/0.7523, allocations: 236.5 MB / 1.248 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5421/1.294, allocations: 43.37 MB / 1.291 GB, free: 56.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007857/1.302, allocations: 240.1 kB / 1.291 GB, free: 56.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007771/1.31, allocations: 3.185 MB / 1.294 GB, free: 56.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01921/1.329, allocations: 7.751 MB / 1.302 GB, free: 55.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01158/1.341, allocations: 5.688 MB / 1.307 GB, free: 55.65 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0243/1.365, allocations: 26.65 MB / 1.333 GB, free: 49.53 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/1.377, allocations: 11.51 MB / 1.344 GB, free: 44.69 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01621/1.393, allocations: 9.536 MB / 1.354 GB, free: 40.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/1.404, allocations: 6.868 MB / 1.36 GB, free: 37.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003017/1.407, allocations: 1.074 MB / 1.362 GB, free: 37.35 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/1.417, allocations: 3.478 MB / 1.365 GB, free: 34.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002269/1.419, allocations: 2.642 MB / 1.367 GB, free: 31.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007246/1.426, allocations: 5.538 MB / 1.373 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/1.441, allocations: 18.81 MB / 1.391 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.441, allocations: 0 / 1.391 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.441, allocations: 4 kB / 1.391 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002805/1.441, allocations: 0 / 1.391 GB, free: 7.555 MB / 0.9981 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.01752/1.459, allocations: 10.38 MB / 1.401 GB, free: 13.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.459, allocations: 8.031 kB / 1.401 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001169/1.46, allocations: 0.6721 MB / 1.402 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006284/1.466, allocations: 1.359 MB / 1.403 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/1.486, allocations: 10.6 MB / 1.414 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004685/1.486, allocations: 469.5 kB / 1.414 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/1.487, allocations: 0.5156 MB / 1.415 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/1.5, allocations: 7.276 MB / 1.422 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.588e-05/1.5, allocations: 11.84 kB / 1.422 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004852/1.501, allocations: 208 kB / 1.422 GB, free: 7.996 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/1.501, allocations: 201.3 kB / 1.422 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/1.512, allocations: 6.247 MB / 1.428 GB, free: 1.535 MB / 1.029 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.03994/1.552, allocations: 34.17 MB / 1.462 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/1.556, allocations: 2.395 MB / 1.464 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00297/1.559, allocations: 1.768 MB / 1.466 GB, free: 9.473 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/1.56, allocations: 2.039 MB / 1.468 GB, free: 7.004 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003222/1.564, allocations: 1.8 MB / 1.469 GB, free: 5.191 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 3.887e-06/1.564, allocations: 0 / 1.469 GB, free: 5.191 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.01032/1.574, allocations: 4.866 MB / 1.474 GB, free: 324 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/1.574, allocations: 81.34 kB / 1.474 GB, free: 232 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/1.586, allocations: 9.219 MB / 1.483 GB, free: 7.027 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004985/1.587, allocations: 89.7 kB / 1.483 GB, free: 6.934 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.003583/1.591, allocations: 3.808 MB / 1.487 GB, free: 3.125 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008549/1.591, allocations: 0.7649 MB / 1.488 GB, free: 2.367 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/1.593, allocations: 0.7961 MB / 1.489 GB, free: 1.562 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/1.593, allocations: 305.1 kB / 1.489 GB, free: 1.262 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/1.596, allocations: 1.665 MB / 1.491 GB, free: 15.59 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004177/1.6, allocations: 3.283 MB / 1.494 GB, free: 11.68 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006417/1.606, allocations: 4.354 MB / 1.498 GB, free: 6.879 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/1.606, allocations: 8 kB / 1.498 GB, free: 6.871 MB / 1.107 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009511/1.616, allocations: 5.117 MB / 1.503 GB, free: 1.699 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/1.616, allocations: 22.19 kB / 1.503 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/1.616, allocations: 32 kB / 1.503 GB, free: 1.648 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.565e-05/1.616, allocations: 48 kB / 1.503 GB, free: 1.602 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/1.619, allocations: 0.8428 MB / 1.504 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.409e-05/1.619, allocations: 75.77 kB / 1.504 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/1.625, allocations: 0.613 MB / 1.505 GB, free: 68 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/1.625, allocations: 164 kB / 1.505 GB, free: 15.91 MB / 1.123 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.004709/1.63, allocations: 3.066 MB / 1.508 GB, free: 12.83 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002225/1.632, allocations: 0.7292 MB / 1.508 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008081/1.64, allocations: 4.098 MB / 1.512 GB, free: 8 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/1.64, allocations: 27.98 kB / 1.513 GB, free: 7.973 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.64, allocations: 0 / 1.513 GB, free: 7.973 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00571/1.646, allocations: 3.189 MB / 1.516 GB, free: 4.734 MB / 1.123 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.02081/1.667, allocations: 11.24 MB / 1.527 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.667, allocations: 4 kB / 1.527 GB, free: 9.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.669, allocations: 0.5307 MB / 1.527 GB, free: 8.879 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/1.669, allocations: 12 kB / 1.527 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.669, allocations: 79.94 kB / 1.527 GB, free: 8.789 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/1.669, allocations: 12 kB / 1.527 GB, free: 8.777 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.669, allocations: 0 / 1.527 GB, free: 8.777 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.681, allocations: 6.025 MB / 1.533 GB, free: 2.688 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003379/1.684, allocations: 1.44 MB / 1.535 GB, free: 1.219 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.685, allocations: 59.98 kB / 1.535 GB, free: 1.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/1.688, allocations: 247.5 kB / 1.535 GB, free: 0.918 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/1.689, allocations: 157.7 kB / 1.535 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/1.689, allocations: 119.9 kB / 1.535 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.01044/1.699, allocations: 6.563 MB / 1.541 GB, free: 10.11 MB / 1.154 GB Notification: Performance of sort global known variables: time 6.82e-07/1.699, allocations: 0 / 1.541 GB, free: 10.11 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.007183/1.707, allocations: 2.078 MB / 1.544 GB, free: 8.031 MB / 1.154 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.01335/1.72, allocations: 7.637 MB / 1.551 GB, free: 460 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.733, allocations: 6.07 MB / 1.557 GB, free: 10.38 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.733, allocations: 7.938 kB / 1.557 GB, free: 10.38 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003033/1.736, allocations: 1.675 MB / 1.559 GB, free: 8.699 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01837/1.755, allocations: 4.572 MB / 1.563 GB, free: 4.328 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1052/1.86, allocations: 90.2 MB / 1.651 GB, free: 3.027 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004968/1.865, allocations: 5.514 MB / 1.656 GB, free: 13.48 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.007069/1.872, allocations: 2.135 MB / 1.659 GB, free: 11.39 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004269/1.876, allocations: 3.369 MB / 1.662 GB, free: 8.016 MB / 1.279 GB Notification: Performance of SimCode: time 7.21e-07/1.876, allocations: 0 / 1.662 GB, free: 8.016 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/2.938, allocations: 231.5 MB / 1.888 GB, free: 442.3 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/15.04, allocations: 9.375 kB / 1.888 GB, free: 442.3 MB / 1.358 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