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.005328/0.005328, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.001336/0.001336, allocations: 193 kB / 16.67 MB, free: 5.926 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.446/2.446, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.91 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7752/0.7771, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2388/1.016, allocations: 236.5 MB / 1.397 GB, free: 6.48 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.06086/1.077, allocations: 43.38 MB / 1.439 GB, free: 11 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008816/1.086, allocations: 230.6 kB / 1.44 GB, free: 10.77 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00989/1.096, allocations: 3.183 MB / 1.443 GB, free: 7.574 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02348/1.119, allocations: 7.762 MB / 1.45 GB, free: 15.79 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01472/1.134, allocations: 5.744 MB / 1.456 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.03937/1.173, allocations: 26.7 MB / 1.482 GB, free: 15.3 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02024/1.194, allocations: 11.52 MB / 1.493 GB, free: 3.668 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0223/1.216, allocations: 9.592 MB / 1.503 GB, free: 10.07 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/1.23, allocations: 6.878 MB / 1.509 GB, free: 3.168 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.004037/1.234, allocations: 1.07 MB / 1.51 GB, free: 2.098 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/1.247, allocations: 3.468 MB / 1.514 GB, free: 14.62 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.005278/1.252, allocations: 2.644 MB / 1.516 GB, free: 11.97 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.01338/1.265, allocations: 5.539 MB / 1.522 GB, free: 6.41 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.03077/1.296, allocations: 19.03 MB / 1.54 GB, free: 3.316 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.296, allocations: 4 kB / 1.54 GB, free: 3.312 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.405e-06/1.296, allocations: 0 / 1.54 GB, free: 3.312 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0005561/1.297, allocations: 0 / 1.54 GB, free: 3.312 MB / 1.264 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.02971/1.327, allocations: 10.67 MB / 1.551 GB, free: 8.523 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.327, allocations: 12.56 kB / 1.551 GB, free: 8.512 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002622/1.329, allocations: 0.6698 MB / 1.552 GB, free: 7.832 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00887/1.338, allocations: 1.466 MB / 1.553 GB, free: 6.359 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.164/2.502, allocations: 11.04 MB / 1.564 GB, free: 367.2 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007827/2.503, allocations: 473.6 kB / 1.564 GB, free: 366.9 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/2.505, allocations: 0.5188 MB / 1.565 GB, free: 366.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/2.52, allocations: 7.32 MB / 1.572 GB, free: 363.8 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/2.52, allocations: 11.75 kB / 1.572 GB, free: 363.8 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005816/2.52, allocations: 215.1 kB / 1.572 GB, free: 363.6 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/2.521, allocations: 202.1 kB / 1.572 GB, free: 363.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/2.532, allocations: 6.34 MB / 1.578 GB, free: 361.3 MB / 1.279 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.04052/2.573, allocations: 34.08 MB / 1.612 GB, free: 330.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/2.577, allocations: 2.449 MB / 1.614 GB, free: 327.7 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003051/2.58, allocations: 1.84 MB / 1.616 GB, free: 325.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/2.581, allocations: 2.03 MB / 1.618 GB, free: 323.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003562/2.585, allocations: 1.833 MB / 1.62 GB, free: 321.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 5.32e-06/2.585, allocations: 0 / 1.62 GB, free: 321.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01126/2.596, allocations: 4.988 MB / 1.625 GB, free: 316.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/2.596, allocations: 73.41 kB / 1.625 GB, free: 316.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01831/2.615, allocations: 9.219 MB / 1.634 GB, free: 307.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009544/2.616, allocations: 93.7 kB / 1.634 GB, free: 307.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004991/2.621, allocations: 3.839 MB / 1.637 GB, free: 303.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001423/2.622, allocations: 0.8133 MB / 1.638 GB, free: 303 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002596/2.625, allocations: 0.8004 MB / 1.639 GB, free: 302.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/2.625, allocations: 301.1 kB / 1.639 GB, free: 301.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/2.628, allocations: 1.69 MB / 1.641 GB, free: 300.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004234/2.632, allocations: 3.308 MB / 1.644 GB, free: 296.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006715/2.639, allocations: 4.397 MB / 1.649 GB, free: 291.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-05/2.639, allocations: 15.34 kB / 1.649 GB, free: 291.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01106/2.65, allocations: 5.199 MB / 1.654 GB, free: 286.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/2.65, allocations: 20 kB / 1.654 GB, free: 286.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.264e-05/2.65, allocations: 32 kB / 1.654 GB, free: 286.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.185e-05/2.65, allocations: 51.98 kB / 1.654 GB, free: 286.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/2.654, allocations: 0.8539 MB / 1.655 GB, free: 285.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-05/2.654, allocations: 67.78 kB / 1.655 GB, free: 285.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006789/2.66, allocations: 0.634 MB / 1.655 GB, free: 284.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006102/2.661, allocations: 164 kB / 1.655 GB, free: 284.7 MB / 1.279 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.005223/2.666, allocations: 3.065 MB / 1.658 GB, free: 281.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002837/2.669, allocations: 0.7714 MB / 1.659 GB, free: 280.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009539/2.679, allocations: 4.151 MB / 1.663 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/2.679, allocations: 24 kB / 1.663 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/2.679, allocations: 0 / 1.663 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005483/2.684, allocations: 3.23 MB / 1.666 GB, free: 273.4 MB / 1.279 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.02254/2.707, allocations: 11.3 MB / 1.677 GB, free: 262 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/2.707, allocations: 4 kB / 1.677 GB, free: 262 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/2.709, allocations: 0.5424 MB / 1.678 GB, free: 261.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.961e-05/2.709, allocations: 8 kB / 1.678 GB, free: 261.5 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002915/2.71, allocations: 91.94 kB / 1.678 GB, free: 261.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/2.71, allocations: 11.5 kB / 1.678 GB, free: 261.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.71, allocations: 4 kB / 1.678 GB, free: 261.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/2.721, allocations: 6.147 MB / 1.684 GB, free: 255.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004065/2.725, allocations: 1.48 MB / 1.685 GB, free: 253.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002328/2.727, allocations: 59.98 kB / 1.686 GB, free: 253.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005028/2.732, allocations: 262 kB / 1.686 GB, free: 253.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003746/2.733, allocations: 153.4 kB / 1.686 GB, free: 253.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003599/2.733, allocations: 119.9 kB / 1.686 GB, free: 253.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01207/2.745, allocations: 6.553 MB / 1.692 GB, free: 246.6 MB / 1.279 GB Notification: Performance of sort global known variables: time 7.21e-07/2.745, allocations: 4 kB / 1.692 GB, free: 246.6 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007695/2.753, allocations: 2.099 MB / 1.695 GB, free: 244.6 MB / 1.279 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.01488/2.768, allocations: 7.775 MB / 1.702 GB, free: 236.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007309/2.775, allocations: 3.871 MB / 1.706 GB, free: 233 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/2.775, allocations: 0 / 1.706 GB, free: 233 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002988/2.778, allocations: 1.696 MB / 1.708 GB, free: 231.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02427/2.802, allocations: 4.566 MB / 1.712 GB, free: 226.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1246/2.927, allocations: 64.86 MB / 1.775 GB, free: 160.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007927/2.935, allocations: 5.518 MB / 1.781 GB, free: 155.3 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.008732/2.944, allocations: 2.144 MB / 1.783 GB, free: 153.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006564/2.95, allocations: 3.366 MB / 1.786 GB, free: 149.8 MB / 1.279 GB Notification: Performance of SimCode: time 1.102e-06/2.95, allocations: 0 / 1.786 GB, free: 149.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3095/3.26, allocations: 226.4 MB / 2.007 GB, free: 5.012 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.18/28.44, allocations: 11 kB / 2.007 GB, free: 5.004 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