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.001296/0.001296, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009064/0.0009064, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8944/0.8944, allocations: 177.1 MB / 203.5 MB, free: 5.73 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 1.776/1.776, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 1.473e-06/1.473e-06, allocations: 0 / 1.001 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.877e-05, allocations: 2.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6109/0.611, allocations: 216.3 MB / 1.212 GB, free: 10.25 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.04244/0.6534, allocations: 40.53 MB / 1.252 GB, free: 1.633 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007165/0.6606, allocations: 325.2 kB / 1.252 GB, free: 1.312 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.00564/0.6662, allocations: 3.168 MB / 1.255 GB, free: 14.12 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.0142/0.6804, allocations: 8.524 MB / 1.263 GB, free: 5.566 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.008943/0.6893, allocations: 6.025 MB / 1.269 GB, free: 15.59 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0216/0.7109, allocations: 27.11 MB / 1.296 GB, free: 4.406 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008474/0.7194, allocations: 7.292 MB / 1.303 GB, free: 13.01 MB / 1.151 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0218/0.7412, allocations: 14.11 MB / 1.317 GB, free: 14.89 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.7524, allocations: 6.634 MB / 1.323 GB, free: 8.242 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 0.002098/0.7545, allocations: 1.051 MB / 1.324 GB, free: 7.191 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00642/0.7609, allocations: 3.03 MB / 1.327 GB, free: 4.156 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.7626, allocations: 2.752 MB / 1.33 GB, free: 1.395 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.004796/0.7674, allocations: 3.66 MB / 1.333 GB, free: 13.73 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.7839, allocations: 18.59 MB / 1.352 GB, free: 11.09 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7839, allocations: 0 / 1.352 GB, free: 11.09 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7839, allocations: 0 / 1.352 GB, free: 11.09 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003257/0.7843, allocations: 3.938 kB / 1.352 GB, free: 11.09 MB / 1.198 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.01386/0.7981, allocations: 10.47 MB / 1.362 GB, free: 0.5195 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7982, allocations: 8.75 kB / 1.362 GB, free: 0.5117 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.8016, allocations: 1.489 MB / 1.363 GB, free: 15.02 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.8131, allocations: 11.24 MB / 1.374 GB, free: 3.668 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.8134, allocations: 0.5092 MB / 1.375 GB, free: 3.133 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005452/0.8139, allocations: 0.5117 MB / 1.375 GB, free: 2.621 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008968/0.8229, allocations: 8.222 MB / 1.383 GB, free: 10.02 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.677e-05/0.823, allocations: 15.83 kB / 1.383 GB, free: 10 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.8233, allocations: 204 kB / 1.383 GB, free: 9.801 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.769e-05/0.8234, allocations: 136 kB / 1.384 GB, free: 9.668 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007653/0.831, allocations: 6.376 MB / 1.39 GB, free: 3.277 MB / 1.229 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.02518/0.8562, allocations: 23.83 MB / 1.413 GB, free: 11.04 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.8592, allocations: 2.479 MB / 1.415 GB, free: 8.559 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.8612, allocations: 1.754 MB / 1.417 GB, free: 6.805 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005104/0.8617, allocations: 237.8 kB / 1.417 GB, free: 6.57 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002536/0.8643, allocations: 2.758 MB / 1.42 GB, free: 3.59 MB / 1.26 GB Notification: Performance of pre-optimization done (n=212): time 4.238e-06/0.8643, allocations: 4 kB / 1.42 GB, free: 3.586 MB / 1.26 GB Notification: Performance of matching and sorting (n=212): time 0.006908/0.8712, allocations: 5.086 MB / 1.425 GB, free: 14.49 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.8712, allocations: 81.39 kB / 1.425 GB, free: 14.4 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007832/0.8791, allocations: 8.397 MB / 1.433 GB, free: 6.051 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.8793, allocations: 89.7 kB / 1.433 GB, free: 5.957 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.002506/0.8818, allocations: 3.872 MB / 1.437 GB, free: 2.062 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/0.8825, allocations: 0.767 MB / 1.438 GB, free: 1.289 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000867/0.8833, allocations: 0.7728 MB / 1.439 GB, free: 0.5078 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.8834, allocations: 313 kB / 1.439 GB, free: 204 kB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.8855, allocations: 1.747 MB / 1.441 GB, free: 14.45 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/0.8889, allocations: 5.209 MB / 1.446 GB, free: 8.164 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.8934, allocations: 4.434 MB / 1.45 GB, free: 3.27 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.8934, allocations: 8 kB / 1.45 GB, free: 3.262 MB / 1.292 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.006262/0.8996, allocations: 5.193 MB / 1.455 GB, free: 14.02 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.8997, allocations: 20 kB / 1.455 GB, free: 14 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.8997, allocations: 32 kB / 1.455 GB, free: 13.96 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.952e-05/0.8997, allocations: 44 kB / 1.455 GB, free: 13.92 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.9014, allocations: 0.8347 MB / 1.456 GB, free: 13.09 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.912e-05/0.9014, allocations: 63.78 kB / 1.456 GB, free: 13.02 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/0.9043, allocations: 0.5723 MB / 1.457 GB, free: 12.45 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.9045, allocations: 168 kB / 1.457 GB, free: 12.29 MB / 1.307 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.003165/0.9076, allocations: 3.054 MB / 1.46 GB, free: 9.211 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007087/0.9083, allocations: 0.6947 MB / 1.461 GB, free: 8.512 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004987/0.9133, allocations: 4.205 MB / 1.465 GB, free: 4.309 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.9133, allocations: 27.98 kB / 1.465 GB, free: 4.281 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.9134, allocations: 0 / 1.465 GB, free: 4.281 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00385/0.9172, allocations: 3.355 MB / 1.468 GB, free: 0.8789 MB / 1.307 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.01062/0.9278, allocations: 9.638 MB / 1.477 GB, free: 7.168 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.9278, allocations: 4 kB / 1.477 GB, free: 7.164 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.9291, allocations: 0.562 MB / 1.478 GB, free: 6.602 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.9291, allocations: 11.94 kB / 1.478 GB, free: 6.59 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.9293, allocations: 71.94 kB / 1.478 GB, free: 6.52 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.9293, allocations: 12 kB / 1.478 GB, free: 6.508 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9293, allocations: 7.938 kB / 1.478 GB, free: 6.5 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006839/0.9361, allocations: 6.321 MB / 1.484 GB, free: 144 kB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/0.9381, allocations: 1.338 MB / 1.486 GB, free: 14.79 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000486/0.9386, allocations: 55.92 kB / 1.486 GB, free: 14.74 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.9403, allocations: 295.5 kB / 1.486 GB, free: 14.45 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.9405, allocations: 145.7 kB / 1.486 GB, free: 14.3 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.9407, allocations: 115.9 kB / 1.486 GB, free: 14.19 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.005987/0.9467, allocations: 5.913 MB / 1.492 GB, free: 8.32 MB / 1.339 GB Notification: Performance of sort global known variables: time 8e-08/0.9467, allocations: 0 / 1.492 GB, free: 8.32 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.004431/0.9511, allocations: 2.182 MB / 1.494 GB, free: 6.133 MB / 1.339 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.001504/0.9526, allocations: 1.099 MB / 1.495 GB, free: 5.055 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.004791/0.9574, allocations: 3.851 MB / 1.499 GB, free: 1.207 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9574, allocations: 4 kB / 1.499 GB, free: 1.203 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.9594, allocations: 1.722 MB / 1.501 GB, free: 15.48 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007619/0.967, allocations: 3.729 MB / 1.504 GB, free: 11.88 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.9852, allocations: 15.4 MB / 1.519 GB, free: 12.4 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003551/0.9887, allocations: 4.817 MB / 1.524 GB, free: 7.547 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/0.9902, allocations: 0.5315 MB / 1.524 GB, free: 7.016 MB / 1.37 GB Notification: Performance of SimCode: time 1.824e-06/0.9902, allocations: 0 / 1.524 GB, free: 7.016 MB / 1.37 GB Notification: Performance of Templates: time 0.9665/1.957, allocations: 145.1 MB / 1.666 GB, free: 387.8 MB / 1.386 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 -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/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: 22.66397595498711]