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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 496.2 MB / 0.7819 GB, free: 12.41 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.1.|y1.y.2.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.1.|y1.y.2.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 63.91 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.204, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2639/1.468, allocations: 240.6 MB / 1.54 GB, free: 7.766 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.07789/1.546, allocations: 43.54 MB / 1.583 GB, free: 12.12 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0146/1.56, allocations: 238.6 kB / 1.583 GB, free: 11.88 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01351/1.574, allocations: 3.302 MB / 1.586 GB, free: 8.562 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.03443/1.608, allocations: 8.144 MB / 1.594 GB, free: 400 kB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01829/1.627, allocations: 5.798 MB / 1.6 GB, free: 10.64 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.04804/1.675, allocations: 26.42 MB / 1.626 GB, free: 156 kB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01785/1.693, allocations: 7.478 MB / 1.633 GB, free: 8.562 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02901/1.722, allocations: 10.16 MB / 1.643 GB, free: 14.39 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01689/1.738, allocations: 7.002 MB / 1.65 GB, free: 7.359 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.004798/1.743, allocations: 1.047 MB / 1.651 GB, free: 6.312 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/1.76, allocations: 3.507 MB / 1.654 GB, free: 2.801 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.00702/1.767, allocations: 2.69 MB / 1.657 GB, free: 104 kB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.01636/1.783, allocations: 5.481 MB / 1.662 GB, free: 10.59 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.03711/1.82, allocations: 18.25 MB / 1.68 GB, free: 8.289 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/1.82, allocations: 0 / 1.68 GB, free: 8.289 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.733e-06/1.82, allocations: 0 / 1.68 GB, free: 8.289 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0007179/1.821, allocations: 4 kB / 1.68 GB, free: 8.285 MB / 1.357 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.03584/1.857, allocations: 10.51 MB / 1.69 GB, free: 13.65 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.857, allocations: 8.031 kB / 1.69 GB, free: 13.64 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.867, allocations: 1.45 MB / 1.692 GB, free: 12.19 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02772/1.895, allocations: 10.85 MB / 1.702 GB, free: 1.266 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008877/1.896, allocations: 466 kB / 1.703 GB, free: 0.7969 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003557/1.899, allocations: 0.5231 MB / 1.703 GB, free: 284 kB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02709/1.926, allocations: 7.341 MB / 1.711 GB, free: 8.762 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003115/1.927, allocations: 15.89 kB / 1.711 GB, free: 8.746 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002306/1.929, allocations: 200 kB / 1.711 GB, free: 8.551 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/1.929, allocations: 143.9 kB / 1.711 GB, free: 8.41 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01959/1.949, allocations: 6.364 MB / 1.717 GB, free: 2.031 MB / 1.389 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.07114/2.02, allocations: 34.56 MB / 1.751 GB, free: 13.28 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/2.026, allocations: 2.488 MB / 1.753 GB, free: 10.79 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004178/2.03, allocations: 1.742 MB / 1.755 GB, free: 9.047 MB / 1.436 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002267/2.033, allocations: 2.043 MB / 1.757 GB, free: 6.562 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004552/2.037, allocations: 1.889 MB / 1.759 GB, free: 4.664 MB / 1.436 GB Notification: Performance of pre-optimization done (n=212): time 5.441e-06/2.037, allocations: 0 / 1.759 GB, free: 4.664 MB / 1.436 GB Notification: Performance of matching and sorting (n=212): time 0.01442/2.052, allocations: 5.125 MB / 1.764 GB, free: 15.53 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/2.052, allocations: 73.41 kB / 1.764 GB, free: 15.45 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02314/2.075, allocations: 9.113 MB / 1.773 GB, free: 6.348 MB / 1.451 GB Notification: Performance of collectPreVariables (initialization): time 0.0009744/2.076, allocations: 85.7 kB / 1.773 GB, free: 6.258 MB / 1.451 GB Notification: Performance of collectInitialEqns (initialization): time 0.006209/2.082, allocations: 3.801 MB / 1.777 GB, free: 2.441 MB / 1.451 GB Notification: Performance of collectInitialBindings (initialization): time 0.001753/2.084, allocations: 0.7786 MB / 1.777 GB, free: 1.656 MB / 1.451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/2.086, allocations: 0.7767 MB / 1.778 GB, free: 0.8711 MB / 1.451 GB Notification: Performance of setup shared object (initialization): time 0.0001358/2.086, allocations: 309 kB / 1.778 GB, free: 0.5664 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003917/2.09, allocations: 1.735 MB / 1.78 GB, free: 14.83 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005962/2.096, allocations: 3.345 MB / 1.783 GB, free: 10.85 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009296/2.105, allocations: 4.422 MB / 1.788 GB, free: 5.969 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/2.105, allocations: 8 kB / 1.788 GB, free: 5.961 MB / 1.467 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01523/2.12, allocations: 5.24 MB / 1.793 GB, free: 0.668 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 7.427e-05/2.12, allocations: 20 kB / 1.793 GB, free: 0.6484 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.985e-05/2.12, allocations: 28 kB / 1.793 GB, free: 0.6211 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.173e-05/2.12, allocations: 48 kB / 1.793 GB, free: 0.5742 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/2.125, allocations: 0.8309 MB / 1.794 GB, free: 15.74 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.654e-05/2.125, allocations: 67.78 kB / 1.794 GB, free: 15.68 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007989/2.133, allocations: 0.6612 MB / 1.794 GB, free: 15.01 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007863/2.134, allocations: 156 kB / 1.795 GB, free: 14.86 MB / 1.482 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.007892/2.142, allocations: 3.015 MB / 1.798 GB, free: 11.83 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003384/2.145, allocations: 0.7569 MB / 1.798 GB, free: 11.07 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/2.156, allocations: 4.219 MB / 1.802 GB, free: 6.848 MB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/2.156, allocations: 20 kB / 1.802 GB, free: 6.828 MB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/2.156, allocations: 0 / 1.802 GB, free: 6.828 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006849/2.162, allocations: 3.32 MB / 1.806 GB, free: 3.457 MB / 1.482 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.02835/2.191, allocations: 11.3 MB / 1.817 GB, free: 8.008 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/2.191, allocations: 4 kB / 1.817 GB, free: 8.004 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002804/2.194, allocations: 0.5581 MB / 1.817 GB, free: 7.445 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.728e-05/2.194, allocations: 12 kB / 1.817 GB, free: 7.434 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/2.194, allocations: 71.94 kB / 1.817 GB, free: 7.363 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-05/2.194, allocations: 19.94 kB / 1.817 GB, free: 7.344 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.194, allocations: 0 / 1.817 GB, free: 7.344 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/2.209, allocations: 6.325 MB / 1.823 GB, free: 0.9727 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00634/2.216, allocations: 1.445 MB / 1.825 GB, free: 15.5 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003326/2.219, allocations: 59.98 kB / 1.825 GB, free: 15.44 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006413/2.225, allocations: 291.5 kB / 1.825 GB, free: 15.16 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000631/2.226, allocations: 145.5 kB / 1.825 GB, free: 15.02 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004798/2.227, allocations: 111.9 kB / 1.825 GB, free: 14.91 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01803/2.245, allocations: 6.476 MB / 1.832 GB, free: 8.453 MB / 1.514 GB Notification: Performance of sort global known variables: time 4.4e-07/2.245, allocations: 3.938 kB / 1.832 GB, free: 8.449 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.01154/2.256, allocations: 2.094 MB / 1.834 GB, free: 6.352 MB / 1.514 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.004268/2.26, allocations: 1.109 MB / 1.835 GB, free: 5.258 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.01057/2.271, allocations: 3.824 MB / 1.839 GB, free: 1.434 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/2.271, allocations: 4 kB / 1.839 GB, free: 1.43 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/2.275, allocations: 1.636 MB / 1.84 GB, free: 15.8 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02719/2.302, allocations: 4.598 MB / 1.845 GB, free: 11.34 MB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04068/2.343, allocations: 16.11 MB / 1.86 GB, free: 11.16 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/2.353, allocations: 5.438 MB / 1.866 GB, free: 5.699 MB / 1.545 GB Notification: Performance of simCode: alias equations: time 0.00998/2.363, allocations: 2.093 MB / 1.868 GB, free: 3.637 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/2.366, allocations: 0.5344 MB / 1.868 GB, free: 3.102 MB / 1.545 GB Notification: Performance of SimCode: time 2.074e-06/2.366, allocations: 4 kB / 1.868 GB, free: 3.098 MB / 1.545 GB Notification: Performance of Templates: time 1.854/4.22, allocations: 157.9 MB / 2.023 GB, free: 401.9 MB / 1.545 GB " [Timeout remaining time 296] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.472727732732892]