Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002033/0.002033, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.002562/0.002562, allocations: 166.4 kB / 22.46 MB, free: 5.375 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.524/1.524, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.788/2.788, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.392e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9268/0.9268, allocations: 216 MB / 1.162 GB, free: 49.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06247/0.9893, allocations: 40.59 MB / 1.202 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01337/1.003, allocations: 328.7 kB / 1.202 GB, free: 27.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01119/1.014, allocations: 3.185 MB / 1.205 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02827/1.042, allocations: 8.583 MB / 1.213 GB, free: 20.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01663/1.059, allocations: 6.057 MB / 1.219 GB, free: 16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03882/1.098, allocations: 27.4 MB / 1.246 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01864/1.116, allocations: 7.614 MB / 1.254 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04762/1.164, allocations: 13.8 MB / 1.267 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01936/1.183, allocations: 6.849 MB / 1.274 GB, free: 5.938 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.005272/1.188, allocations: 1.066 MB / 1.275 GB, free: 4.871 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/1.205, allocations: 3.065 MB / 1.278 GB, free: 1.801 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.008828/1.214, allocations: 2.814 MB / 1.28 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01705/1.231, allocations: 3.683 MB / 1.284 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.03989/1.271, allocations: 18.84 MB / 1.302 GB, free: 8.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/1.271, allocations: 0 / 1.302 GB, free: 8.398 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.454e-06/1.271, allocations: 0 / 1.302 GB, free: 8.398 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0006806/1.272, allocations: 0 / 1.302 GB, free: 8.398 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03892/1.311, allocations: 10.61 MB / 1.313 GB, free: 13.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/1.311, allocations: 8.031 kB / 1.313 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/1.321, allocations: 1.474 MB / 1.314 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03042/1.352, allocations: 11.42 MB / 1.325 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008347/1.352, allocations: 0.5132 MB / 1.326 GB, free: 148 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002441/1.355, allocations: 0.5195 MB / 1.326 GB, free: 15.62 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/1.374, allocations: 8.188 MB / 1.334 GB, free: 7.055 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/1.374, allocations: 15.89 kB / 1.334 GB, free: 7.039 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000707/1.375, allocations: 211.7 kB / 1.335 GB, free: 6.836 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/1.375, allocations: 205.3 kB / 1.335 GB, free: 6.633 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/1.391, allocations: 6.341 MB / 1.341 GB, free: 284 kB / 1.092 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.06405/1.455, allocations: 23.92 MB / 1.364 GB, free: 7.965 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007245/1.462, allocations: 2.328 MB / 1.367 GB, free: 5.633 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004583/1.467, allocations: 1.733 MB / 1.368 GB, free: 3.895 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/1.468, allocations: 225.8 kB / 1.369 GB, free: 3.672 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005823/1.474, allocations: 2.7 MB / 1.371 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of pre-optimization done (n=220): time 6.442e-06/1.474, allocations: 0 / 1.371 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of matching and sorting (n=220): time 0.015/1.489, allocations: 4.92 MB / 1.376 GB, free: 11.83 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/1.489, allocations: 81.39 kB / 1.376 GB, free: 11.73 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02334/1.512, allocations: 8.516 MB / 1.384 GB, free: 3.223 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001237/1.514, allocations: 89.7 kB / 1.384 GB, free: 3.129 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.007832/1.521, allocations: 3.927 MB / 1.388 GB, free: 15.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.002304/1.524, allocations: 0.8018 MB / 1.389 GB, free: 14.37 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003899/1.528, allocations: 0.7887 MB / 1.39 GB, free: 13.57 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.528, allocations: 305.1 kB / 1.39 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/1.533, allocations: 1.693 MB / 1.392 GB, free: 11.57 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00839/1.541, allocations: 5.155 MB / 1.397 GB, free: 5.344 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/1.552, allocations: 4.401 MB / 1.401 GB, free: 492 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.206e-05/1.552, allocations: 11.98 kB / 1.401 GB, free: 480 kB / 1.154 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01694/1.569, allocations: 5.137 MB / 1.406 GB, free: 11.28 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/1.569, allocations: 16 kB / 1.406 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.908e-05/1.569, allocations: 32 kB / 1.406 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/1.569, allocations: 48 kB / 1.406 GB, free: 11.19 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/1.573, allocations: 0.8542 MB / 1.407 GB, free: 10.33 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/1.574, allocations: 71.78 kB / 1.407 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007882/1.581, allocations: 0.5489 MB / 1.408 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008147/1.582, allocations: 160 kB / 1.408 GB, free: 9.555 MB / 1.17 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 (414): * Single equations (assignments): 414 * 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.007514/1.59, allocations: 3.12 MB / 1.411 GB, free: 6.418 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003456/1.593, allocations: 0.7025 MB / 1.412 GB, free: 5.711 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.604, allocations: 4.11 MB / 1.416 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.35e-05/1.605, allocations: 23.98 kB / 1.416 GB, free: 1.578 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.605, allocations: 7.984 kB / 1.416 GB, free: 1.57 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006956/1.611, allocations: 3.239 MB / 1.419 GB, free: 14.27 MB / 1.186 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.02834/1.64, allocations: 9.605 MB / 1.428 GB, free: 4.602 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.64, allocations: 4.25 kB / 1.428 GB, free: 4.598 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/1.643, allocations: 0.5421 MB / 1.429 GB, free: 4.055 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.073e-05/1.643, allocations: 16 kB / 1.429 GB, free: 4.039 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003946/1.643, allocations: 79.94 kB / 1.429 GB, free: 3.961 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-05/1.643, allocations: 12 kB / 1.429 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/1.643, allocations: 4 kB / 1.429 GB, free: 3.945 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.658, allocations: 6.11 MB / 1.435 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004745/1.663, allocations: 1.354 MB / 1.436 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001903/1.665, allocations: 59.98 kB / 1.436 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005018/1.67, allocations: 251.6 kB / 1.436 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/1.67, allocations: 157.7 kB / 1.437 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003537/1.67, allocations: 115.9 kB / 1.437 GB, free: 11.84 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.01519/1.686, allocations: 5.994 MB / 1.443 GB, free: 5.859 MB / 1.201 GB Notification: Performance of sort global known variables: time 3e-07/1.686, allocations: 4 kB / 1.443 GB, free: 5.855 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01114/1.697, allocations: 2.194 MB / 1.445 GB, free: 3.656 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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].filter.s[1],chi.valEva.val[1].filter.s[2],chi.valEva.val[2].filter.s[1],chi.valEva.val[2].filter.s[2],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].filter.s[1],chi.valCon.val[1].filter.s[2],chi.valCon.val[2].filter.s[1],chi.valCon.val[2].filter.s[2],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 (230): * Single equations (assignments): 217 * 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.002937/1.7, allocations: 1.11 MB / 1.446 GB, free: 2.562 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008817/1.708, allocations: 3.754 MB / 1.449 GB, free: 14.81 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.708, allocations: 4 kB / 1.449 GB, free: 14.81 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003541/1.712, allocations: 1.593 MB / 1.451 GB, free: 13.22 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01912/1.731, allocations: 3.716 MB / 1.455 GB, free: 9.648 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/1.77, allocations: 16.07 MB / 1.47 GB, free: 9.496 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009522/1.78, allocations: 5.149 MB / 1.475 GB, free: 4.305 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.009968/1.79, allocations: 1.996 MB / 1.477 GB, free: 2.336 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002785/1.792, allocations: 0.5042 MB / 1.478 GB, free: 1.832 MB / 1.232 GB Notification: Performance of SimCode: time 1.703e-06/1.792, allocations: 0 / 1.478 GB, free: 1.832 MB / 1.232 GB Notification: Performance of Templates: time 0.2569/2.049, allocations: 139.1 MB / 1.614 GB, free: 8.422 MB / 1.373 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.171866986900568]