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.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.001276/0.001276, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001389/0.001389, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9281/0.9281, allocations: 177.1 MB / 203.4 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.09/2.09, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|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.[0-9,]+.|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 1.202e-06/1.202e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.486e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.0344/0.03441, allocations: 51.14 MB / 0.9281 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0274/0.06181, allocations: 21.65 MB / 0.9493 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004586/0.0664, allocations: 376.8 kB / 0.9496 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.06946, allocations: 1.745 MB / 0.9513 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.008049/0.07751, allocations: 6.082 MB / 0.9573 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.009358/0.08686, allocations: 6.676 MB / 0.9638 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.02285/0.1097, allocations: 27.97 MB / 0.9911 GB, free: 2.332 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009568/0.1193, allocations: 8.051 MB / 0.999 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01814/0.1374, allocations: 12.96 MB / 1.012 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009269/0.1467, allocations: 6.973 MB / 1.018 GB, free: 6.273 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.1483, allocations: 1.117 MB / 1.02 GB, free: 5.156 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.152, allocations: 1.749 MB / 1.021 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.002136/0.1541, allocations: 2.947 MB / 1.024 GB, free: 460 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.004379/0.1585, allocations: 3.937 MB / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.1686, allocations: 9.787 MB / 1.038 GB, free: 2.684 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1686, allocations: 4 kB / 1.038 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1686, allocations: 0 / 1.038 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001452/0.1687, allocations: 0 / 1.038 GB, free: 2.68 MB / 0.9948 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.01207/0.1808, allocations: 11.85 MB / 1.049 GB, free: 6.711 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1808, allocations: 12.03 kB / 1.049 GB, free: 6.699 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.1845, allocations: 1.953 MB / 1.051 GB, free: 4.738 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7234/0.9078, allocations: 11.9 MB / 1.063 GB, free: 138.9 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.9081, allocations: 0.5741 MB / 1.063 GB, free: 138.8 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.9087, allocations: 0.6124 MB / 1.064 GB, free: 138.8 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005568/0.9143, allocations: 5.044 MB / 1.069 GB, free: 137 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.806e-05/0.9144, allocations: 9.344 kB / 1.069 GB, free: 137 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/0.9147, allocations: 205.7 kB / 1.069 GB, free: 137 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.281e-05/0.9147, allocations: 137 kB / 1.069 GB, free: 137 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.9181, allocations: 1.951 MB / 1.071 GB, free: 136.9 MB / 1.011 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.02362/0.9417, allocations: 25.12 MB / 1.095 GB, free: 129.6 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.9435, allocations: 1.025 MB / 1.096 GB, free: 129.5 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.9446, allocations: 0.6906 MB / 1.097 GB, free: 129.5 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/0.945, allocations: 159.6 kB / 1.097 GB, free: 129.5 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.9464, allocations: 1.74 MB / 1.099 GB, free: 128.4 MB / 1.011 GB Notification: Performance of pre-optimization done (n=212): time 4.348e-06/0.9464, allocations: 3.75 kB / 1.099 GB, free: 128.4 MB / 1.011 GB Notification: Performance of matching and sorting (n=212): time 0.004511/0.9509, allocations: 2.486 MB / 1.101 GB, free: 127.6 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.951, allocations: 78.28 kB / 1.102 GB, free: 127.6 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008427/0.9594, allocations: 7.763 MB / 1.109 GB, free: 124.8 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002887/0.9597, allocations: 124.9 kB / 1.109 GB, free: 124.7 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002994/0.9627, allocations: 4.655 MB / 1.114 GB, free: 121.5 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/0.9632, allocations: 0.7937 MB / 1.115 GB, free: 121 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.9645, allocations: 1.34 MB / 1.116 GB, free: 120.3 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.9646, allocations: 482.1 kB / 1.116 GB, free: 119.9 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.9659, allocations: 0.6274 MB / 1.117 GB, free: 119.8 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.9688, allocations: 6.624 MB / 1.123 GB, free: 111.9 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004598/0.9734, allocations: 5.214 MB / 1.128 GB, free: 106.8 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.436e-05/0.9734, allocations: 23.78 kB / 1.128 GB, free: 106.8 MB / 1.011 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.007894/0.9813, allocations: 4.508 MB / 1.133 GB, free: 105.5 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.9814, allocations: 49.98 kB / 1.133 GB, free: 105.5 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.559e-05/0.9815, allocations: 82.94 kB / 1.133 GB, free: 105.5 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.9816, allocations: 118.6 kB / 1.133 GB, free: 105.5 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/0.9849, allocations: 1.206 MB / 1.134 GB, free: 105.5 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001438/0.985, allocations: 166.2 kB / 1.134 GB, free: 105.5 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/0.9894, allocations: 0.7258 MB / 1.135 GB, free: 105.2 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/0.9898, allocations: 283.5 kB / 1.135 GB, free: 105.2 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * 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 (634): * Single equations (assignments): 634 * 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.001635/0.9914, allocations: 0.5405 MB / 1.136 GB, free: 104.9 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000962/0.9924, allocations: 0.8379 MB / 1.137 GB, free: 104.4 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.9963, allocations: 2.219 MB / 1.139 GB, free: 103.7 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.9963, allocations: 22.86 kB / 1.139 GB, free: 103.7 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.9964, allocations: 1.594 kB / 1.139 GB, free: 103.7 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005382/1.002, allocations: 1.444 MB / 1.14 GB, free: 103.2 MB / 1.011 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.02474/1.026, allocations: 8.67 MB / 1.149 GB, free: 99.38 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.026, allocations: 0 / 1.149 GB, free: 99.38 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004647/1.031, allocations: 0.514 MB / 1.149 GB, free: 99.35 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.031, allocations: 11.94 kB / 1.149 GB, free: 99.35 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/1.031, allocations: 76.66 kB / 1.149 GB, free: 99.32 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/1.031, allocations: 11.47 kB / 1.149 GB, free: 99.31 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.031, allocations: 6.938 kB / 1.149 GB, free: 99.31 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/1.036, allocations: 3.057 MB / 1.152 GB, free: 98.03 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.039, allocations: 1.366 MB / 1.154 GB, free: 97.21 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006842/1.039, allocations: 53.19 kB / 1.154 GB, free: 97.18 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.042, allocations: 205 kB / 1.154 GB, free: 97.14 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.042, allocations: 143.9 kB / 1.154 GB, free: 97.12 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/1.042, allocations: 116.6 kB / 1.154 GB, free: 97.1 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.005554/1.048, allocations: 3.962 MB / 1.158 GB, free: 95.93 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.91e-07/1.048, allocations: 0 / 1.158 GB, free: 95.93 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.004547/1.052, allocations: 2.085 MB / 1.16 GB, free: 95.66 MB / 1.011 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.0008097/1.053, allocations: 429.9 kB / 1.161 GB, free: 95.49 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.003607/1.057, allocations: 2.485 MB / 1.163 GB, free: 95.07 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.057, allocations: 3.594 kB / 1.163 GB, free: 95.07 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009402/1.058, allocations: 0.7858 MB / 1.164 GB, free: 94.95 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007734/1.066, allocations: 4.059 MB / 1.168 GB, free: 93.73 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.08, allocations: 13.89 MB / 1.181 GB, free: 84.93 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.081, allocations: 2.439 MB / 1.184 GB, free: 83.19 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.003916/1.085, allocations: 1.882 MB / 1.186 GB, free: 81.91 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008404/1.086, allocations: 0.5439 MB / 1.186 GB, free: 81.42 MB / 1.011 GB Notification: Performance of SimCode: time 1.783e-06/1.086, allocations: 0 / 1.186 GB, free: 81.42 MB / 1.011 GB Notification: Performance of Templates: time 0.1421/1.228, allocations: 133.2 MB / 1.316 GB, free: 1.008 MB / 1.057 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.635982188861817]