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.001891/0.001891, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.002301/0.002301, allocations: 201.6 kB / 22.17 MB, free: 5.676 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.474/1.474, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.253/3.253, allocations: 497.2 MB / 0.7845 GB, free: 33.53 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.002285/0.002285, allocations: 72.73 kB / 1.139 GB, free: 33.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3731, allocations: 173.9 MB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2689/0.6419, allocations: 240.6 MB / 1.544 GB, free: 14.55 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.06582/0.7078, allocations: 43.56 MB / 1.587 GB, free: 2.887 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007293/0.7151, allocations: 234.6 kB / 1.587 GB, free: 2.656 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.009923/0.725, allocations: 3.298 MB / 1.59 GB, free: 15.34 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02399/0.749, allocations: 8.15 MB / 1.598 GB, free: 7.16 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01488/0.7639, allocations: 5.794 MB / 1.604 GB, free: 1.41 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.7831/1.547, allocations: 26.41 MB / 1.63 GB, free: 71.46 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01833/1.565, allocations: 7.483 MB / 1.637 GB, free: 71.01 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02309/1.588, allocations: 10.17 MB / 1.647 GB, free: 70.66 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01268/1.601, allocations: 6.992 MB / 1.654 GB, free: 69.51 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003194/1.604, allocations: 1.045 MB / 1.655 GB, free: 69.51 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/1.615, allocations: 3.51 MB / 1.658 GB, free: 69.51 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004942/1.62, allocations: 2.695 MB / 1.661 GB, free: 69.09 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01152/1.632, allocations: 5.49 MB / 1.666 GB, free: 67.75 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02358/1.655, allocations: 18.25 MB / 1.684 GB, free: 65.89 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.655, allocations: 0 / 1.684 GB, free: 65.89 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.044e-06/1.655, allocations: 0 / 1.684 GB, free: 65.89 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0004878/1.656, allocations: 0 / 1.684 GB, free: 65.89 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.02621/1.682, allocations: 10.51 MB / 1.694 GB, free: 61.78 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.682, allocations: 12.02 kB / 1.694 GB, free: 61.78 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008575/1.691, allocations: 1.448 MB / 1.696 GB, free: 61.23 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/1.712, allocations: 10.84 MB / 1.706 GB, free: 59.75 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004985/1.712, allocations: 468.9 kB / 1.707 GB, free: 59.68 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/1.714, allocations: 0.5125 MB / 1.707 GB, free: 59.67 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/1.73, allocations: 7.354 MB / 1.714 GB, free: 57.22 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/1.73, allocations: 10.7 kB / 1.714 GB, free: 57.21 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006415/1.731, allocations: 212.1 kB / 1.715 GB, free: 57.06 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/1.731, allocations: 142.2 kB / 1.715 GB, free: 57.05 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/1.744, allocations: 6.365 MB / 1.721 GB, free: 53.75 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.04498/1.789, allocations: 34.54 MB / 1.755 GB, free: 20.43 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/1.794, allocations: 2.478 MB / 1.757 GB, free: 17.95 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003311/1.797, allocations: 1.754 MB / 1.759 GB, free: 16.2 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/1.799, allocations: 2.03 MB / 1.761 GB, free: 13.74 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003538/1.802, allocations: 1.889 MB / 1.763 GB, free: 11.84 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 4.117e-06/1.802, allocations: 3.844 kB / 1.763 GB, free: 11.84 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.01085/1.813, allocations: 5.132 MB / 1.768 GB, free: 6.703 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.813, allocations: 73.41 kB / 1.768 GB, free: 6.617 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01561/1.829, allocations: 9.113 MB / 1.777 GB, free: 13.52 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.83, allocations: 81.7 kB / 1.777 GB, free: 13.43 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.005865/1.836, allocations: 3.805 MB / 1.78 GB, free: 9.629 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/1.837, allocations: 0.7788 MB / 1.781 GB, free: 8.863 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/1.839, allocations: 0.7806 MB / 1.782 GB, free: 8.074 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.839, allocations: 305.1 kB / 1.782 GB, free: 7.773 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003749/1.843, allocations: 1.735 MB / 1.784 GB, free: 6.035 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005626/1.849, allocations: 3.344 MB / 1.787 GB, free: 2.082 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008931/1.857, allocations: 4.416 MB / 1.792 GB, free: 13.33 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-05/1.858, allocations: 8 kB / 1.792 GB, free: 13.32 MB / 1.326 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01373/1.871, allocations: 5.244 MB / 1.797 GB, free: 8.207 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/1.871, allocations: 18.5 kB / 1.797 GB, free: 8.191 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.413e-05/1.871, allocations: 32 kB / 1.797 GB, free: 8.16 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-05/1.871, allocations: 48 kB / 1.797 GB, free: 8.113 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/1.875, allocations: 0.8311 MB / 1.798 GB, free: 7.332 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-05/1.875, allocations: 66.44 kB / 1.798 GB, free: 7.281 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00721/1.882, allocations: 0.6689 MB / 1.798 GB, free: 6.617 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006054/1.883, allocations: 159.9 kB / 1.798 GB, free: 6.461 MB / 1.326 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.005911/1.889, allocations: 3.012 MB / 1.801 GB, free: 3.488 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002659/1.892, allocations: 0.7569 MB / 1.802 GB, free: 2.727 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.902, allocations: 4.214 MB / 1.806 GB, free: 14.52 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/1.902, allocations: 31.17 kB / 1.806 GB, free: 14.5 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.902, allocations: 0 / 1.806 GB, free: 14.5 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007244/1.909, allocations: 3.312 MB / 1.809 GB, free: 11.14 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 postOpt removeSimpleEquations (simulation): time 0.02726/1.936, allocations: 11.3 MB / 1.821 GB, free: 15.76 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.936, allocations: 3.625 kB / 1.821 GB, free: 15.76 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/1.939, allocations: 0.5697 MB / 1.821 GB, free: 15.21 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/1.939, allocations: 8 kB / 1.821 GB, free: 15.2 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/1.94, allocations: 75.94 kB / 1.821 GB, free: 15.13 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/1.94, allocations: 8 kB / 1.821 GB, free: 15.12 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.94, allocations: 4 kB / 1.821 GB, free: 15.12 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.954, allocations: 6.329 MB / 1.827 GB, free: 8.746 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004855/1.958, allocations: 1.448 MB / 1.829 GB, free: 7.273 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002015/1.96, allocations: 59.98 kB / 1.829 GB, free: 7.215 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004778/1.965, allocations: 283.2 kB / 1.829 GB, free: 6.941 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.966, allocations: 144.9 kB / 1.829 GB, free: 6.801 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003207/1.966, allocations: 119.9 kB / 1.829 GB, free: 6.684 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.01316/1.979, allocations: 6.476 MB / 1.836 GB, free: 236 kB / 1.357 GB Notification: Performance of sort global known variables: time 3.7e-07/1.979, allocations: 4 kB / 1.836 GB, free: 232 kB / 1.357 GB Notification: Performance of remove unused functions: time 0.008097/1.987, allocations: 2.09 MB / 1.838 GB, free: 14.13 MB / 1.373 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.002415/1.99, allocations: 1.116 MB / 1.839 GB, free: 13.14 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.008794/1.998, allocations: 3.829 MB / 1.843 GB, free: 9.418 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.998, allocations: 4 kB / 1.843 GB, free: 9.414 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003782/2.002, allocations: 1.64 MB / 1.844 GB, free: 7.816 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02347/2.026, allocations: 4.59 MB / 1.849 GB, free: 3.402 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/2.06, allocations: 16.11 MB / 1.864 GB, free: 3.348 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008206/2.068, allocations: 5.436 MB / 1.87 GB, free: 13.89 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.00823/2.076, allocations: 2.09 MB / 1.872 GB, free: 11.83 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002432/2.079, allocations: 0.5344 MB / 1.872 GB, free: 11.29 MB / 1.404 GB Notification: Performance of SimCode: time 1.052e-06/2.079, allocations: 0 / 1.872 GB, free: 11.29 MB / 1.404 GB Notification: Performance of Templates: time 0.2708/2.35, allocations: 157.8 MB / 2.026 GB, free: 15.48 MB / 1.561 GB " [Timeout remaining time 298] 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=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.057879177853465]