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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001126/0.001126, allocations: 108 kB / 15.61 MB, free: 152 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.001137/0.001137, allocations: 194.4 kB / 16.53 MB, free: 6.66 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.845/2.845, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.14 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2686, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7298/0.9985, allocations: 236.4 MB / 1.294 GB, free: 48.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04948/1.048, allocations: 43.33 MB / 1.337 GB, free: 46.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007908/1.056, allocations: 230 kB / 1.337 GB, free: 46.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008152/1.064, allocations: 3.193 MB / 1.34 GB, free: 45.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02109/1.085, allocations: 7.751 MB / 1.348 GB, free: 41.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01336/1.099, allocations: 5.681 MB / 1.353 GB, free: 39.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02623/1.125, allocations: 26.65 MB / 1.379 GB, free: 24.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01442/1.139, allocations: 11.51 MB / 1.391 GB, free: 18.42 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01844/1.158, allocations: 9.543 MB / 1.4 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/1.169, allocations: 6.872 MB / 1.407 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002885/1.172, allocations: 1.07 MB / 1.408 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/1.183, allocations: 3.471 MB / 1.411 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003996/1.187, allocations: 2.64 MB / 1.414 GB, free: 12.53 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0105/1.198, allocations: 5.541 MB / 1.419 GB, free: 7.016 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02278/1.22, allocations: 18.24 MB / 1.437 GB, free: 5.199 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.22, allocations: 0 / 1.437 GB, free: 5.199 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/1.22, allocations: 0 / 1.437 GB, free: 5.199 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004234/1.221, allocations: 0 / 1.437 GB, free: 5.199 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.02281/1.244, allocations: 10.36 MB / 1.447 GB, free: 10.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.244, allocations: 8.031 kB / 1.447 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001261/1.245, allocations: 0.6765 MB / 1.448 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/1.251, allocations: 1.355 MB / 1.449 GB, free: 8.777 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/1.268, allocations: 10.57 MB / 1.459 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/1.269, allocations: 472.8 kB / 1.46 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009926/1.27, allocations: 0.5264 MB / 1.46 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/1.283, allocations: 7.281 MB / 1.467 GB, free: 5.887 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.675e-05/1.283, allocations: 11.84 kB / 1.467 GB, free: 5.875 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005368/1.284, allocations: 206.2 kB / 1.468 GB, free: 5.676 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/1.284, allocations: 205.3 kB / 1.468 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/1.296, allocations: 6.262 MB / 1.474 GB, free: 15.2 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.04725/1.343, allocations: 34.13 MB / 1.507 GB, free: 11.32 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/1.348, allocations: 2.395 MB / 1.509 GB, free: 8.922 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/1.352, allocations: 1.775 MB / 1.511 GB, free: 7.148 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00176/1.353, allocations: 2.03 MB / 1.513 GB, free: 4.688 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003815/1.357, allocations: 1.813 MB / 1.515 GB, free: 2.863 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 5.069e-06/1.357, allocations: 0 / 1.515 GB, free: 2.863 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.01257/1.37, allocations: 4.875 MB / 1.52 GB, free: 13.98 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/1.37, allocations: 81.39 kB / 1.52 GB, free: 13.89 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02083/1.391, allocations: 9.207 MB / 1.529 GB, free: 4.699 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0007711/1.392, allocations: 89.7 kB / 1.529 GB, free: 4.605 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.005176/1.397, allocations: 3.799 MB / 1.533 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.398, allocations: 0.7774 MB / 1.533 GB, free: 36 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002184/1.4, allocations: 0.7922 MB / 1.534 GB, free: 15.23 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/1.401, allocations: 301.1 kB / 1.534 GB, free: 14.94 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003748/1.404, allocations: 1.665 MB / 1.536 GB, free: 13.27 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/1.409, allocations: 3.284 MB / 1.539 GB, free: 9.355 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008429/1.418, allocations: 4.35 MB / 1.544 GB, free: 4.547 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/1.418, allocations: 8 kB / 1.544 GB, free: 4.539 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01375/1.432, allocations: 5.121 MB / 1.549 GB, free: 15.36 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/1.432, allocations: 20 kB / 1.549 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/1.432, allocations: 32 kB / 1.549 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/1.432, allocations: 48 kB / 1.549 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/1.436, allocations: 0.8309 MB / 1.549 GB, free: 14.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.338e-05/1.436, allocations: 71.72 kB / 1.549 GB, free: 14.36 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006865/1.442, allocations: 0.6248 MB / 1.55 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005751/1.443, allocations: 160 kB / 1.55 GB, free: 13.58 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.006236/1.449, allocations: 3.066 MB / 1.553 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003052/1.452, allocations: 0.7292 MB / 1.554 GB, free: 9.762 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.463, allocations: 4.089 MB / 1.558 GB, free: 5.672 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/1.463, allocations: 27.92 kB / 1.558 GB, free: 5.645 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.463, allocations: 7.875 kB / 1.558 GB, free: 5.637 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006782/1.47, allocations: 3.184 MB / 1.561 GB, free: 2.402 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.02712/1.497, allocations: 11.2 MB / 1.572 GB, free: 7.113 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.497, allocations: 7.938 kB / 1.572 GB, free: 7.105 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.5, allocations: 0.5308 MB / 1.573 GB, free: 6.574 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.91e-05/1.5, allocations: 8 kB / 1.573 GB, free: 6.566 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/1.5, allocations: 83.94 kB / 1.573 GB, free: 6.484 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.436e-05/1.5, allocations: 19.98 kB / 1.573 GB, free: 6.465 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.5, allocations: 3.938 kB / 1.573 GB, free: 6.461 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/1.514, allocations: 6.02 MB / 1.579 GB, free: 392 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003884/1.518, allocations: 1.437 MB / 1.58 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/1.52, allocations: 55.98 kB / 1.58 GB, free: 14.87 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004821/1.524, allocations: 243.5 kB / 1.58 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/1.525, allocations: 157.7 kB / 1.58 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003437/1.525, allocations: 115.9 kB / 1.581 GB, free: 14.36 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01352/1.539, allocations: 6.553 MB / 1.587 GB, free: 7.836 MB / 1.186 GB Notification: Performance of sort global known variables: time 5.31e-07/1.539, allocations: 4 kB / 1.587 GB, free: 7.832 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00757/1.546, allocations: 2.082 MB / 1.589 GB, free: 5.746 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.01528/1.562, allocations: 7.618 MB / 1.596 GB, free: 14.15 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.576, allocations: 6.07 MB / 1.602 GB, free: 8.086 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.576, allocations: 4 kB / 1.602 GB, free: 8.082 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/1.579, allocations: 1.668 MB / 1.604 GB, free: 6.414 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0225/1.602, allocations: 4.576 MB / 1.608 GB, free: 2.027 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1337/1.735, allocations: 90.11 MB / 1.696 GB, free: 0.7695 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006983/1.743, allocations: 5.518 MB / 1.702 GB, free: 11.23 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.009233/1.752, allocations: 2.151 MB / 1.704 GB, free: 9.105 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00635/1.758, allocations: 3.366 MB / 1.707 GB, free: 5.738 MB / 1.311 GB Notification: Performance of SimCode: time 1.103e-06/1.758, allocations: 0 / 1.707 GB, free: 5.738 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.203/2.961, allocations: 230.4 MB / 1.932 GB, free: 378.8 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/15.6, allocations: 15.69 kB / 1.932 GB, free: 378.8 MB / 1.358 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