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.001437/0.001437, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001465/0.001465, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.495/1.495, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.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.152/3.152, allocations: 489.2 MB / 0.7687 GB, free: 3.754 MB / 0.6075 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.001984/0.001984, allocations: 71.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9868/0.9887, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2671/1.256, allocations: 236.6 MB / 1.494 GB, free: 11.46 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.06848/1.324, allocations: 43.31 MB / 1.536 GB, free: 56 kB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01099/1.335, allocations: 238.7 kB / 1.536 GB, free: 15.82 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01116/1.347, allocations: 3.177 MB / 1.539 GB, free: 12.62 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.02785/1.375, allocations: 7.679 MB / 1.547 GB, free: 4.918 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01657/1.391, allocations: 5.723 MB / 1.552 GB, free: 15.24 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.04098/1.432, allocations: 26.45 MB / 1.578 GB, free: 4.727 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0195/1.452, allocations: 11.42 MB / 1.589 GB, free: 9.191 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02412/1.476, allocations: 9.855 MB / 1.599 GB, free: 15.33 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/1.49, allocations: 6.695 MB / 1.605 GB, free: 8.609 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003941/1.494, allocations: 1.047 MB / 1.606 GB, free: 7.562 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/1.506, allocations: 3.445 MB / 1.61 GB, free: 4.113 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005149/1.511, allocations: 2.582 MB / 1.612 GB, free: 1.523 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01236/1.523, allocations: 5.489 MB / 1.618 GB, free: 12.01 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02983/1.553, allocations: 18.24 MB / 1.636 GB, free: 9.715 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.553, allocations: 0 / 1.636 GB, free: 9.715 MB / 1.326 GB Notification: Performance of FrontEnd: time 2.214e-06/1.553, allocations: 0 / 1.636 GB, free: 9.715 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0005/1.554, allocations: 0 / 1.636 GB, free: 9.715 MB / 1.326 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.02846/1.582, allocations: 10.51 MB / 1.646 GB, free: 15.08 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.582, allocations: 12.03 kB / 1.646 GB, free: 15.07 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00909/1.591, allocations: 1.45 MB / 1.647 GB, free: 13.61 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02436/1.616, allocations: 10.84 MB / 1.658 GB, free: 2.691 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007328/1.617, allocations: 462 kB / 1.658 GB, free: 2.227 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/1.619, allocations: 0.5192 MB / 1.659 GB, free: 1.711 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/1.641, allocations: 7.345 MB / 1.666 GB, free: 10.19 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002548/1.641, allocations: 11.94 kB / 1.666 GB, free: 10.18 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/1.643, allocations: 200 kB / 1.666 GB, free: 9.984 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/1.643, allocations: 139.9 kB / 1.666 GB, free: 9.848 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/1.661, allocations: 6.36 MB / 1.672 GB, free: 3.473 MB / 1.357 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.06284/1.724, allocations: 34.56 MB / 1.706 GB, free: 14.73 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006752/1.731, allocations: 2.605 MB / 1.709 GB, free: 12.12 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004394/1.735, allocations: 1.847 MB / 1.711 GB, free: 10.27 MB / 1.404 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/1.738, allocations: 2.032 MB / 1.713 GB, free: 7.793 MB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004932/1.743, allocations: 1.885 MB / 1.714 GB, free: 5.898 MB / 1.404 GB Notification: Performance of pre-optimization done (n=212): time 7.444e-06/1.743, allocations: 4 kB / 1.714 GB, free: 5.895 MB / 1.404 GB Notification: Performance of matching and sorting (n=212): time 0.01477/1.757, allocations: 5.125 MB / 1.719 GB, free: 0.7578 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/1.758, allocations: 81.34 kB / 1.719 GB, free: 0.6641 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02677/1.784, allocations: 9.105 MB / 1.728 GB, free: 7.57 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0009373/1.785, allocations: 85.7 kB / 1.728 GB, free: 7.48 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.006653/1.792, allocations: 3.809 MB / 1.732 GB, free: 3.66 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/1.794, allocations: 0.7825 MB / 1.733 GB, free: 2.871 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002627/1.796, allocations: 0.7806 MB / 1.734 GB, free: 2.082 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.796, allocations: 305.1 kB / 1.734 GB, free: 1.781 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004344/1.801, allocations: 1.732 MB / 1.736 GB, free: 48 kB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006392/1.807, allocations: 3.349 MB / 1.739 GB, free: 12.07 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009697/1.817, allocations: 4.414 MB / 1.743 GB, free: 7.188 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.614e-05/1.817, allocations: 8 kB / 1.743 GB, free: 7.18 MB / 1.436 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01559/1.833, allocations: 5.236 MB / 1.748 GB, free: 1.891 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/1.833, allocations: 20 kB / 1.748 GB, free: 1.871 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.581e-05/1.833, allocations: 36.16 kB / 1.748 GB, free: 1.836 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.192e-05/1.833, allocations: 48 kB / 1.749 GB, free: 1.789 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/1.837, allocations: 0.8229 MB / 1.749 GB, free: 0.9648 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001054/1.837, allocations: 63.78 kB / 1.749 GB, free: 0.9023 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008215/1.845, allocations: 0.6651 MB / 1.75 GB, free: 240 kB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008612/1.846, allocations: 156 kB / 1.75 GB, free: 84 kB / 1.436 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.007812/1.854, allocations: 3.022 MB / 1.753 GB, free: 13.05 MB / 1.451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003406/1.857, allocations: 0.753 MB / 1.754 GB, free: 12.29 MB / 1.451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/1.87, allocations: 4.221 MB / 1.758 GB, free: 8.074 MB / 1.451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/1.87, allocations: 24 kB / 1.758 GB, free: 8.051 MB / 1.451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.87, allocations: 0 / 1.758 GB, free: 8.051 MB / 1.451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007724/1.878, allocations: 3.324 MB / 1.761 GB, free: 4.676 MB / 1.451 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.02872/1.906, allocations: 11.3 MB / 1.772 GB, free: 9.215 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.906, allocations: 0 / 1.772 GB, free: 9.215 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/1.909, allocations: 0.562 MB / 1.773 GB, free: 8.652 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.504e-05/1.909, allocations: 8 kB / 1.773 GB, free: 8.645 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003495/1.91, allocations: 75.94 kB / 1.773 GB, free: 8.57 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-05/1.91, allocations: 15.92 kB / 1.773 GB, free: 8.555 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.91, allocations: 4 kB / 1.773 GB, free: 8.551 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.925, allocations: 6.327 MB / 1.779 GB, free: 2.18 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004699/1.93, allocations: 1.452 MB / 1.781 GB, free: 0.7031 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00244/1.932, allocations: 51.98 kB / 1.781 GB, free: 0.6523 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005451/1.938, allocations: 283.5 kB / 1.781 GB, free: 384 kB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/1.938, allocations: 153.7 kB / 1.781 GB, free: 228 kB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004865/1.939, allocations: 107.9 kB / 1.781 GB, free: 120 kB / 1.467 GB Notification: Performance of sorting global known variables: time 0.01565/1.954, allocations: 6.48 MB / 1.787 GB, free: 9.66 MB / 1.482 GB Notification: Performance of sort global known variables: time 4.41e-07/1.954, allocations: 0 / 1.787 GB, free: 9.66 MB / 1.482 GB Notification: Performance of remove unused functions: time 0.009238/1.964, allocations: 2.098 MB / 1.789 GB, free: 7.559 MB / 1.482 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.003031/1.967, allocations: 1.104 MB / 1.791 GB, free: 6.473 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.977, allocations: 3.952 MB / 1.794 GB, free: 2.52 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.977, allocations: 0 / 1.794 GB, free: 2.52 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/1.981, allocations: 1.816 MB / 1.796 GB, free: 0.707 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02504/2.006, allocations: 4.594 MB / 1.801 GB, free: 12.26 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03753/2.044, allocations: 15.72 MB / 1.816 GB, free: 12.46 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00921/2.053, allocations: 5.197 MB / 1.821 GB, free: 7.242 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002948/2.056, allocations: 0.5656 MB / 1.822 GB, free: 6.676 MB / 1.514 GB Notification: Performance of SimCode: time 1.162e-06/2.056, allocations: 3.938 kB / 1.822 GB, free: 6.672 MB / 1.514 GB Notification: Performance of Templates: time 1.499/3.555, allocations: 150.5 MB / 1.969 GB, free: 409.4 MB / 1.514 GB " [Timeout remaining time 296] 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/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: 41.387175641953945]