Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 212.1 kB / 23.03 MB, free: 4.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.063/3.063, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 70.62 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2319/0.5705, allocations: 218.1 MB / 1.54 GB, free: 6.141 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.06223/0.6327, allocations: 40.56 MB / 1.58 GB, free: 13.49 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009749/0.6425, allocations: 329.2 kB / 1.58 GB, free: 13.16 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.009786/0.6523, allocations: 3.138 MB / 1.583 GB, free: 10.01 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02322/0.6755, allocations: 8.293 MB / 1.591 GB, free: 1.688 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.6899, allocations: 5.797 MB / 1.597 GB, free: 11.94 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.7812/1.471, allocations: 27.09 MB / 1.623 GB, free: 64.38 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0154/1.486, allocations: 7.525 MB / 1.631 GB, free: 63.94 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0248/1.511, allocations: 10.45 MB / 1.641 GB, free: 63.73 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01581/1.527, allocations: 7.312 MB / 1.648 GB, free: 62.58 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004514/1.532, allocations: 1.045 MB / 1.649 GB, free: 62.58 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/1.545, allocations: 3.001 MB / 1.652 GB, free: 62.58 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005825/1.55, allocations: 2.7 MB / 1.655 GB, free: 62.16 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01291/1.563, allocations: 4.279 MB / 1.659 GB, free: 61.15 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02779/1.591, allocations: 18.46 MB / 1.677 GB, free: 59.28 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/1.591, allocations: 3 kB / 1.677 GB, free: 59.28 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.904e-06/1.591, allocations: 2.094 kB / 1.677 GB, free: 59.28 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0005713/1.592, allocations: 0 / 1.677 GB, free: 59.28 MB / 1.295 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.03213/1.624, allocations: 10.51 MB / 1.687 GB, free: 55.25 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.624, allocations: 10.19 kB / 1.687 GB, free: 55.25 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.634, allocations: 1.459 MB / 1.689 GB, free: 54.7 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02493/1.659, allocations: 11.12 MB / 1.699 GB, free: 53.11 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000528/1.66, allocations: 0.5072 MB / 1.7 GB, free: 52.97 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002017/1.662, allocations: 0.522 MB / 1.7 GB, free: 52.96 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/1.68, allocations: 8.214 MB / 1.708 GB, free: 51.34 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002346/1.68, allocations: 13.42 kB / 1.708 GB, free: 51.33 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001661/1.682, allocations: 202.9 kB / 1.709 GB, free: 51.33 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/1.682, allocations: 139 kB / 1.709 GB, free: 51.33 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/1.698, allocations: 6.352 MB / 1.715 GB, free: 51.26 MB / 1.295 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.04598/1.744, allocations: 23.79 MB / 1.738 GB, free: 36.12 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00515/1.749, allocations: 2.472 MB / 1.741 GB, free: 34.88 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003354/1.752, allocations: 1.744 MB / 1.742 GB, free: 34 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008703/1.753, allocations: 241.2 kB / 1.743 GB, free: 33.92 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003509/1.757, allocations: 2.732 MB / 1.745 GB, free: 31.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 5.41e-06/1.757, allocations: 3.312 kB / 1.745 GB, free: 31.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.01158/1.768, allocations: 5.054 MB / 1.75 GB, free: 29.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.768, allocations: 77.02 kB / 1.75 GB, free: 29.23 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01421/1.782, allocations: 8.323 MB / 1.758 GB, free: 22.09 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009076/1.783, allocations: 93.64 kB / 1.758 GB, free: 21.99 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.004116/1.787, allocations: 3.871 MB / 1.762 GB, free: 18.12 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.789, allocations: 0.7775 MB / 1.763 GB, free: 17.35 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/1.79, allocations: 0.7806 MB / 1.764 GB, free: 16.56 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/1.79, allocations: 301.1 kB / 1.764 GB, free: 16.27 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002989/1.793, allocations: 1.739 MB / 1.766 GB, free: 14.52 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004153/1.797, allocations: 5.192 MB / 1.771 GB, free: 8.277 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/1.804, allocations: 4.415 MB / 1.775 GB, free: 3.527 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-05/1.804, allocations: 16 kB / 1.775 GB, free: 3.512 MB / 1.295 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01142/1.815, allocations: 5.166 MB / 1.78 GB, free: 14.48 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/1.815, allocations: 16 kB / 1.78 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-05/1.815, allocations: 32 kB / 1.78 GB, free: 14.43 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.977e-05/1.815, allocations: 52.06 kB / 1.78 GB, free: 14.38 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/1.819, allocations: 0.825 MB / 1.781 GB, free: 13.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.967e-05/1.819, allocations: 72 kB / 1.781 GB, free: 13.55 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/1.826, allocations: 0.5689 MB / 1.782 GB, free: 12.98 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005921/1.826, allocations: 160 kB / 1.782 GB, free: 12.82 MB / 1.311 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.006452/1.833, allocations: 3.036 MB / 1.785 GB, free: 9.824 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002804/1.835, allocations: 0.6831 MB / 1.785 GB, free: 9.137 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.846, allocations: 4.182 MB / 1.79 GB, free: 4.965 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/1.846, allocations: 23.98 kB / 1.79 GB, free: 4.941 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.846, allocations: 0 / 1.79 GB, free: 4.941 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006888/1.853, allocations: 3.335 MB / 1.793 GB, free: 1.562 MB / 1.311 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.02656/1.879, allocations: 9.589 MB / 1.802 GB, free: 7.984 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.879, allocations: 4 kB / 1.802 GB, free: 7.98 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/1.882, allocations: 0.557 MB / 1.803 GB, free: 7.441 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/1.882, allocations: 12 kB / 1.803 GB, free: 7.43 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002971/1.883, allocations: 71.94 kB / 1.803 GB, free: 7.359 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-05/1.883, allocations: 19.66 kB / 1.803 GB, free: 7.344 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.883, allocations: 0 / 1.803 GB, free: 7.344 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.897, allocations: 6.278 MB / 1.809 GB, free: 1.023 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005306/1.902, allocations: 1.323 MB / 1.81 GB, free: 15.7 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/1.904, allocations: 51.98 kB / 1.81 GB, free: 15.65 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005558/1.91, allocations: 290.4 kB / 1.811 GB, free: 15.38 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005913/1.911, allocations: 149.7 kB / 1.811 GB, free: 15.23 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004328/1.911, allocations: 123.6 kB / 1.811 GB, free: 15.11 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01363/1.925, allocations: 5.853 MB / 1.817 GB, free: 9.301 MB / 1.342 GB Notification: Performance of sort global known variables: time 2.1e-07/1.925, allocations: 0 / 1.817 GB, free: 9.301 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.009313/1.934, allocations: 2.175 MB / 1.819 GB, free: 7.121 MB / 1.342 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.002682/1.937, allocations: 1.075 MB / 1.82 GB, free: 6.164 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.009295/1.946, allocations: 3.837 MB / 1.824 GB, free: 2.441 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.946, allocations: 0 / 1.824 GB, free: 2.441 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.003929/1.95, allocations: 1.72 MB / 1.825 GB, free: 0.7617 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0179/1.968, allocations: 3.75 MB / 1.829 GB, free: 13.18 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03252/2, allocations: 15.61 MB / 1.844 GB, free: 13.66 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007466/2.008, allocations: 4.776 MB / 1.849 GB, free: 8.855 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/2.01, allocations: 0.5227 MB / 1.849 GB, free: 8.332 MB / 1.373 GB Notification: Performance of SimCode: time 1.423e-06/2.01, allocations: 4 kB / 1.849 GB, free: 8.328 MB / 1.373 GB Notification: Performance of Templates: time 0.2211/2.231, allocations: 143.8 MB / 1.99 GB, free: 9.586 MB / 1.514 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 33.57592618884519]