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.005359/0.005359, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001219/0.001219, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.36/2.36, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.84 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.732, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2078/0.9398, allocations: 236.5 MB / 1.397 GB, free: 6.551 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.05888/0.9987, allocations: 43.38 MB / 1.439 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008779/1.008, allocations: 234.6 kB / 1.44 GB, free: 10.84 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.009397/1.017, allocations: 3.279 MB / 1.443 GB, free: 7.543 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02072/1.038, allocations: 8.187 MB / 1.451 GB, free: 15.33 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01234/1.05, allocations: 5.765 MB / 1.457 GB, free: 9.598 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02916/1.079, allocations: 26.75 MB / 1.483 GB, free: 14.78 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01452/1.094, allocations: 11.52 MB / 1.494 GB, free: 3.148 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0202/1.114, allocations: 9.884 MB / 1.504 GB, free: 9.262 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01276/1.127, allocations: 6.866 MB / 1.51 GB, free: 2.367 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.003482/1.13, allocations: 1.062 MB / 1.511 GB, free: 1.305 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/1.141, allocations: 3.48 MB / 1.515 GB, free: 13.82 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.004148/1.145, allocations: 2.637 MB / 1.517 GB, free: 11.18 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.009549/1.154, allocations: 5.543 MB / 1.523 GB, free: 5.609 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02373/1.178, allocations: 19.03 MB / 1.541 GB, free: 2.516 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.178, allocations: 0 / 1.541 GB, free: 2.516 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.903e-06/1.178, allocations: 0 / 1.541 GB, free: 2.516 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000395/1.179, allocations: 0 / 1.541 GB, free: 2.516 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.02339/1.202, allocations: 10.67 MB / 1.552 GB, free: 7.727 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.202, allocations: 12.92 kB / 1.552 GB, free: 7.715 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001915/1.204, allocations: 0.6737 MB / 1.552 GB, free: 7.031 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006915/1.211, allocations: 1.403 MB / 1.554 GB, free: 5.621 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.123/2.334, allocations: 11.04 MB / 1.564 GB, free: 367.2 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006374/2.335, allocations: 476.6 kB / 1.565 GB, free: 366.9 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/2.337, allocations: 0.5194 MB / 1.565 GB, free: 366.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/2.351, allocations: 7.266 MB / 1.573 GB, free: 363.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/2.351, allocations: 15.31 kB / 1.573 GB, free: 363.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005931/2.351, allocations: 208.9 kB / 1.573 GB, free: 363.6 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/2.352, allocations: 195.4 kB / 1.573 GB, free: 363.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/2.363, allocations: 6.253 MB / 1.579 GB, free: 361.2 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.04061/2.403, allocations: 33.95 MB / 1.612 GB, free: 329.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/2.407, allocations: 2.396 MB / 1.615 GB, free: 327.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002941/2.41, allocations: 1.805 MB / 1.616 GB, free: 325.6 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/2.412, allocations: 2.033 MB / 1.618 GB, free: 323.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003201/2.415, allocations: 1.805 MB / 1.62 GB, free: 321.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 4.559e-06/2.415, allocations: 0 / 1.62 GB, free: 321.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01001/2.425, allocations: 4.911 MB / 1.625 GB, free: 316.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/2.425, allocations: 77.41 kB / 1.625 GB, free: 316.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/2.439, allocations: 9.222 MB / 1.634 GB, free: 307.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0007486/2.44, allocations: 89.7 kB / 1.634 GB, free: 307.1 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003365/2.444, allocations: 3.839 MB / 1.638 GB, free: 303.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009754/2.445, allocations: 0.8138 MB / 1.639 GB, free: 302.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/2.446, allocations: 0.7981 MB / 1.639 GB, free: 302 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/2.446, allocations: 302.5 kB / 1.64 GB, free: 301.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/2.448, allocations: 1.665 MB / 1.641 GB, free: 300.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003463/2.452, allocations: 3.281 MB / 1.644 GB, free: 296.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005705/2.458, allocations: 4.354 MB / 1.649 GB, free: 291.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-05/2.458, allocations: 11.94 kB / 1.649 GB, free: 291.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009346/2.467, allocations: 5.158 MB / 1.654 GB, free: 286.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/2.467, allocations: 16 kB / 1.654 GB, free: 286.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/2.467, allocations: 32 kB / 1.654 GB, free: 286.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.862e-05/2.467, allocations: 48 kB / 1.654 GB, free: 286.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/2.47, allocations: 0.8348 MB / 1.655 GB, free: 285.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.023e-05/2.47, allocations: 68.88 kB / 1.655 GB, free: 285.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006328/2.477, allocations: 0.6288 MB / 1.655 GB, free: 284.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/2.477, allocations: 161.6 kB / 1.656 GB, free: 284.6 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.004708/2.482, allocations: 3.071 MB / 1.659 GB, free: 281.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002424/2.484, allocations: 0.7762 MB / 1.659 GB, free: 280.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007838/2.492, allocations: 4.09 MB / 1.663 GB, free: 276.8 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/2.492, allocations: 20 kB / 1.663 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/2.492, allocations: 4 kB / 1.663 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004959/2.497, allocations: 3.185 MB / 1.666 GB, free: 273.5 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.0204/2.517, allocations: 11.22 MB / 1.677 GB, free: 262.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/2.518, allocations: 4 kB / 1.677 GB, free: 262.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/2.52, allocations: 0.5308 MB / 1.678 GB, free: 261.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.379e-05/2.52, allocations: 8 kB / 1.678 GB, free: 261.7 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/2.52, allocations: 79.94 kB / 1.678 GB, free: 261.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/2.52, allocations: 12 kB / 1.678 GB, free: 261.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.52, allocations: 3.938 kB / 1.678 GB, free: 261.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/2.531, allocations: 6.066 MB / 1.684 GB, free: 255.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004261/2.536, allocations: 1.481 MB / 1.685 GB, free: 254 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002161/2.538, allocations: 63.98 kB / 1.685 GB, free: 253.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004805/2.543, allocations: 248.1 kB / 1.686 GB, free: 253.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/2.543, allocations: 145.7 kB / 1.686 GB, free: 253.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/2.543, allocations: 119.9 kB / 1.686 GB, free: 253.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01084/2.554, allocations: 6.565 MB / 1.692 GB, free: 246.9 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.21e-07/2.554, allocations: 0 / 1.692 GB, free: 246.9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007624/2.562, allocations: 2.104 MB / 1.694 GB, free: 244.8 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.01267/2.574, allocations: 7.671 MB / 1.702 GB, free: 237.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006528/2.581, allocations: 3.815 MB / 1.706 GB, free: 233.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/2.581, allocations: 1.938 kB / 1.706 GB, free: 233.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002648/2.584, allocations: 1.675 MB / 1.707 GB, free: 231.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01976/2.603, allocations: 4.578 MB / 1.712 GB, free: 227.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1/2.704, allocations: 64.66 MB / 1.775 GB, free: 161.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005305/2.709, allocations: 5.518 MB / 1.78 GB, free: 155.9 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.007162/2.716, allocations: 2.139 MB / 1.782 GB, free: 153.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005489/2.722, allocations: 3.369 MB / 1.786 GB, free: 150.5 MB / 1.279 GB Notification: Performance of SimCode: time 1.032e-06/2.722, allocations: 0 / 1.786 GB, free: 150.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2712/2.993, allocations: 226.2 MB / 2.006 GB, free: 5.84 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.52/27.51, allocations: 4.062 kB / 2.006 GB, free: 5.836 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