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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007325/0.007325, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.002093/0.002093, allocations: 202.4 kB / 16.68 MB, free: 5.965 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 64.12 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2755, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7456/1.021, allocations: 236.6 MB / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.06081/1.082, allocations: 43.32 MB / 1.515 GB, free: 15.7 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006568/1.089, allocations: 238.6 kB / 1.515 GB, free: 15.47 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.008084/1.097, allocations: 3.168 MB / 1.518 GB, free: 12.29 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01916/1.116, allocations: 7.681 MB / 1.526 GB, free: 4.582 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01235/1.128, allocations: 5.725 MB / 1.531 GB, free: 14.91 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.03164/1.16, allocations: 26.45 MB / 1.557 GB, free: 4.395 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01534/1.175, allocations: 11.43 MB / 1.568 GB, free: 8.848 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01847/1.194, allocations: 9.856 MB / 1.578 GB, free: 14.99 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/1.205, allocations: 6.687 MB / 1.584 GB, free: 8.273 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002533/1.207, allocations: 1.051 MB / 1.585 GB, free: 7.223 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008946/1.216, allocations: 3.445 MB / 1.589 GB, free: 3.773 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003967/1.22, allocations: 2.586 MB / 1.591 GB, free: 1.18 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00927/1.229, allocations: 5.485 MB / 1.597 GB, free: 11.67 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02315/1.252, allocations: 18.24 MB / 1.614 GB, free: 9.379 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.253, allocations: 0 / 1.614 GB, free: 9.379 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.493e-06/1.253, allocations: 3.938 kB / 1.614 GB, free: 9.375 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002974/1.253, allocations: 0 / 1.614 GB, free: 9.375 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.02053/1.273, allocations: 10.51 MB / 1.625 GB, free: 14.74 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.273, allocations: 12.03 kB / 1.625 GB, free: 14.73 MB / 1.326 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001052/1.275, allocations: 0.6733 MB / 1.625 GB, free: 14.05 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007017/1.282, allocations: 1.443 MB / 1.627 GB, free: 12.6 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/1.301, allocations: 10.86 MB / 1.637 GB, free: 1.668 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/1.301, allocations: 462 kB / 1.638 GB, free: 1.203 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/1.302, allocations: 0.5194 MB / 1.638 GB, free: 0.6836 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.316, allocations: 7.341 MB / 1.645 GB, free: 9.168 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/1.316, allocations: 7.938 kB / 1.645 GB, free: 9.16 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005684/1.317, allocations: 208 kB / 1.646 GB, free: 8.957 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/1.317, allocations: 139.9 kB / 1.646 GB, free: 8.82 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/1.33, allocations: 6.356 MB / 1.652 GB, free: 2.449 MB / 1.342 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.04694/1.377, allocations: 34.56 MB / 1.686 GB, free: 13.69 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005816/1.383, allocations: 2.594 MB / 1.688 GB, free: 11.09 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/1.387, allocations: 1.843 MB / 1.69 GB, free: 9.25 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/1.389, allocations: 2.035 MB / 1.692 GB, free: 6.77 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004191/1.393, allocations: 1.881 MB / 1.694 GB, free: 4.875 MB / 1.389 GB Notification: Performance of pre-optimization done (n=212): time 4.187e-06/1.393, allocations: 0 / 1.694 GB, free: 4.875 MB / 1.389 GB Notification: Performance of matching and sorting (n=212): time 0.01268/1.406, allocations: 5.129 MB / 1.699 GB, free: 15.73 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/1.406, allocations: 77.39 kB / 1.699 GB, free: 15.64 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0154/1.421, allocations: 9.109 MB / 1.708 GB, free: 6.551 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.0004833/1.422, allocations: 85.7 kB / 1.708 GB, free: 6.461 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.004492/1.426, allocations: 3.801 MB / 1.712 GB, free: 2.645 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.427, allocations: 0.7825 MB / 1.712 GB, free: 1.855 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/1.429, allocations: 0.7845 MB / 1.713 GB, free: 1.062 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.429, allocations: 305.1 kB / 1.714 GB, free: 0.7617 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003918/1.433, allocations: 1.735 MB / 1.715 GB, free: 15.02 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00551/1.438, allocations: 3.345 MB / 1.718 GB, free: 11.05 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008479/1.447, allocations: 4.422 MB / 1.723 GB, free: 6.164 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/1.447, allocations: 12 kB / 1.723 GB, free: 6.152 MB / 1.42 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01153/1.458, allocations: 5.236 MB / 1.728 GB, free: 0.8633 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.458, allocations: 20 kB / 1.728 GB, free: 0.8438 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.184e-05/1.458, allocations: 28 kB / 1.728 GB, free: 0.8164 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/1.458, allocations: 52.06 kB / 1.728 GB, free: 0.7656 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/1.462, allocations: 0.8268 MB / 1.729 GB, free: 15.94 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-05/1.462, allocations: 67.78 kB / 1.729 GB, free: 15.87 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/1.468, allocations: 0.665 MB / 1.73 GB, free: 15.2 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003148/1.468, allocations: 156 kB / 1.73 GB, free: 15.05 MB / 1.436 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 (402): * Single equations (assignments): 402 * 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.00458/1.473, allocations: 3.023 MB / 1.733 GB, free: 12.01 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/1.475, allocations: 0.7569 MB / 1.733 GB, free: 11.25 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009544/1.484, allocations: 4.206 MB / 1.738 GB, free: 7.043 MB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/1.484, allocations: 23.98 kB / 1.738 GB, free: 7.02 MB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.484, allocations: 4 kB / 1.738 GB, free: 7.016 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007205/1.491, allocations: 3.324 MB / 1.741 GB, free: 3.645 MB / 1.436 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.01987/1.511, allocations: 11.3 MB / 1.752 GB, free: 8.191 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.511, allocations: 4 kB / 1.752 GB, free: 8.188 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/1.514, allocations: 0.562 MB / 1.752 GB, free: 7.625 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/1.514, allocations: 11.98 kB / 1.752 GB, free: 7.613 MB / 1.451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/1.514, allocations: 75.94 kB / 1.752 GB, free: 7.539 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.394e-05/1.514, allocations: 11.94 kB / 1.752 GB, free: 7.527 MB / 1.451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.514, allocations: 0 / 1.752 GB, free: 7.527 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.527, allocations: 6.325 MB / 1.759 GB, free: 1.156 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/1.53, allocations: 1.456 MB / 1.76 GB, free: 15.67 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000867/1.531, allocations: 51.98 kB / 1.76 GB, free: 15.62 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00371/1.535, allocations: 275.6 kB / 1.76 GB, free: 15.35 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/1.535, allocations: 153.7 kB / 1.761 GB, free: 15.2 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.535, allocations: 111.9 kB / 1.761 GB, free: 15.09 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.009652/1.545, allocations: 6.48 MB / 1.767 GB, free: 8.633 MB / 1.467 GB Notification: Performance of sort global known variables: time 2.11e-07/1.545, allocations: 0 / 1.767 GB, free: 8.633 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.005051/1.55, allocations: 2.094 MB / 1.769 GB, free: 6.535 MB / 1.467 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (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].actPos.y,chi.valEva.val[2].actPos.y,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].actPos.y,chi.valCon.val[2].actPos.y,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 (222): * Single equations (assignments): 209 * 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.01476/1.565, allocations: 7.898 MB / 1.777 GB, free: 14.62 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.008401/1.573, allocations: 3.957 MB / 1.781 GB, free: 10.66 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.573, allocations: 4 kB / 1.781 GB, free: 10.66 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.003648/1.577, allocations: 1.741 MB / 1.782 GB, free: 8.914 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01781/1.595, allocations: 4.599 MB / 1.787 GB, free: 4.465 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.038/2.632, allocations: 64.18 MB / 1.849 GB, free: 485.6 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005492/2.638, allocations: 5.439 MB / 1.855 GB, free: 483.7 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.00662/2.644, allocations: 2.085 MB / 1.857 GB, free: 483.6 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004326/2.649, allocations: 3.331 MB / 1.86 GB, free: 481 MB / 1.514 GB Notification: Performance of SimCode: time 5.51e-07/2.649, allocations: 1.031 kB / 1.86 GB, free: 481 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2631/2.912, allocations: 224.2 MB / 2.079 GB, free: 302.3 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.81/26.72, allocations: 7.812 kB / 2.079 GB, free: 302.3 MB / 1.514 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 400 --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