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.001614/0.001614, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.001809/0.001809, allocations: 219.8 kB / 23 MB, free: 4.957 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.343/3.343, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.88 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3837, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2644/0.6481, allocations: 218.1 MB / 1.578 GB, free: 2.773 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 1.036/1.685, allocations: 40.53 MB / 1.617 GB, free: 54.78 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0101/1.695, allocations: 329.2 kB / 1.618 GB, free: 54.78 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01149/1.706, allocations: 3.141 MB / 1.621 GB, free: 54.78 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02685/1.733, allocations: 8.3 MB / 1.629 GB, free: 54.67 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01549/1.748, allocations: 5.794 MB / 1.634 GB, free: 54.54 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04327/1.792, allocations: 27.09 MB / 1.661 GB, free: 54.5 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02031/1.812, allocations: 7.531 MB / 1.668 GB, free: 54 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02989/1.842, allocations: 10.45 MB / 1.678 GB, free: 53.23 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01786/1.86, allocations: 7.309 MB / 1.685 GB, free: 52.06 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004927/1.865, allocations: 1.05 MB / 1.687 GB, free: 52.05 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/1.88, allocations: 3.005 MB / 1.689 GB, free: 52 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.006594/1.886, allocations: 2.697 MB / 1.692 GB, free: 51.25 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01471/1.901, allocations: 4.274 MB / 1.696 GB, free: 49 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03192/1.933, allocations: 18.46 MB / 1.714 GB, free: 41.94 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.933, allocations: 0 / 1.714 GB, free: 41.94 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.325e-06/1.933, allocations: 0 / 1.714 GB, free: 41.94 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006233/1.934, allocations: 2.625 kB / 1.714 GB, free: 41.94 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.03079/1.964, allocations: 10.5 MB / 1.725 GB, free: 34.89 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.964, allocations: 8.656 kB / 1.725 GB, free: 34.89 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008925/1.973, allocations: 1.496 MB / 1.726 GB, free: 34.17 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02184/1.995, allocations: 11.15 MB / 1.737 GB, free: 26.57 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005115/1.996, allocations: 0.5072 MB / 1.737 GB, free: 26.27 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/1.998, allocations: 0.5132 MB / 1.738 GB, free: 26.1 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/2.015, allocations: 8.22 MB / 1.746 GB, free: 20.6 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/2.016, allocations: 10.67 kB / 1.746 GB, free: 20.59 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008678/2.016, allocations: 207.4 kB / 1.746 GB, free: 20.44 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/2.017, allocations: 141.6 kB / 1.746 GB, free: 20.43 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/2.031, allocations: 6.373 MB / 1.752 GB, free: 16.6 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.0463/2.077, allocations: 23.84 MB / 1.776 GB, free: 8.684 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006143/2.083, allocations: 2.48 MB / 1.778 GB, free: 6.203 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004075/2.088, allocations: 1.75 MB / 1.78 GB, free: 4.453 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/2.089, allocations: 237.8 kB / 1.78 GB, free: 4.223 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004957/2.094, allocations: 2.755 MB / 1.783 GB, free: 1.246 MB / 1.311 GB Notification: Performance of pre-optimization done (n=212): time 6.492e-06/2.094, allocations: 0 / 1.783 GB, free: 1.246 MB / 1.311 GB Notification: Performance of matching and sorting (n=212): time 0.01395/2.107, allocations: 5.086 MB / 1.788 GB, free: 12.15 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/2.108, allocations: 81.41 kB / 1.788 GB, free: 12.06 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/2.127, allocations: 8.319 MB / 1.796 GB, free: 3.785 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/2.128, allocations: 85.7 kB / 1.796 GB, free: 3.695 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.006451/2.134, allocations: 3.867 MB / 1.8 GB, free: 15.82 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.001683/2.136, allocations: 0.7856 MB / 1.801 GB, free: 15.05 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/2.138, allocations: 0.7786 MB / 1.801 GB, free: 14.26 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.000146/2.138, allocations: 308.9 kB / 1.802 GB, free: 13.96 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003958/2.142, allocations: 1.747 MB / 1.803 GB, free: 12.21 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/2.149, allocations: 5.202 MB / 1.808 GB, free: 5.93 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009587/2.159, allocations: 4.437 MB / 1.813 GB, free: 1.039 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-05/2.159, allocations: 8 kB / 1.813 GB, free: 1.031 MB / 1.342 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01547/2.174, allocations: 5.189 MB / 1.818 GB, free: 11.79 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/2.174, allocations: 20 kB / 1.818 GB, free: 11.77 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.489e-05/2.174, allocations: 32 kB / 1.818 GB, free: 11.74 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.606e-05/2.174, allocations: 48 kB / 1.818 GB, free: 11.69 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/2.178, allocations: 0.8307 MB / 1.819 GB, free: 10.86 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.63e-05/2.178, allocations: 67.73 kB / 1.819 GB, free: 10.79 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007784/2.186, allocations: 0.5762 MB / 1.819 GB, free: 10.21 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009007/2.187, allocations: 171.7 kB / 1.82 GB, free: 10.05 MB / 1.357 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.007492/2.194, allocations: 3.036 MB / 1.823 GB, free: 7.004 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003321/2.198, allocations: 0.6831 MB / 1.823 GB, free: 6.316 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/2.209, allocations: 4.191 MB / 1.827 GB, free: 2.125 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/2.209, allocations: 23.98 kB / 1.827 GB, free: 2.102 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/2.209, allocations: 4 kB / 1.827 GB, free: 2.098 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00719/2.216, allocations: 3.359 MB / 1.831 GB, free: 14.69 MB / 1.373 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.02578/2.242, allocations: 9.622 MB / 1.84 GB, free: 5.066 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/2.242, allocations: 256 / 1.84 GB, free: 5.066 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/2.245, allocations: 0.5656 MB / 1.841 GB, free: 4.5 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.105e-05/2.245, allocations: 8 kB / 1.841 GB, free: 4.492 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/2.245, allocations: 75.94 kB / 1.841 GB, free: 4.418 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.73e-05/2.245, allocations: 11.98 kB / 1.841 GB, free: 4.406 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/2.245, allocations: 4 kB / 1.841 GB, free: 4.402 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/2.259, allocations: 6.321 MB / 1.847 GB, free: 14.04 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005901/2.265, allocations: 1.332 MB / 1.848 GB, free: 12.71 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002794/2.268, allocations: 55.92 kB / 1.848 GB, free: 12.65 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005908/2.274, allocations: 283.6 kB / 1.848 GB, free: 12.38 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000574/2.275, allocations: 157.6 kB / 1.849 GB, free: 12.22 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004239/2.275, allocations: 111.9 kB / 1.849 GB, free: 12.11 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01343/2.288, allocations: 5.857 MB / 1.854 GB, free: 6.297 MB / 1.389 GB Notification: Performance of sort global known variables: time 2.4e-07/2.288, allocations: 4 kB / 1.854 GB, free: 6.293 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.009667/2.298, allocations: 2.175 MB / 1.857 GB, free: 4.113 MB / 1.389 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.002795/2.301, allocations: 1.069 MB / 1.858 GB, free: 3.141 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.00942/2.31, allocations: 3.859 MB / 1.861 GB, free: 15.28 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/2.31, allocations: 3.938 kB / 1.861 GB, free: 15.28 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.004066/2.314, allocations: 1.729 MB / 1.863 GB, free: 13.55 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02012/2.335, allocations: 3.743 MB / 1.867 GB, free: 9.957 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/2.371, allocations: 15.59 MB / 1.882 GB, free: 10.44 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007133/2.378, allocations: 4.772 MB / 1.887 GB, free: 5.633 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/2.381, allocations: 0.5227 MB / 1.887 GB, free: 5.109 MB / 1.42 GB Notification: Performance of SimCode: time 1.132e-06/2.381, allocations: 0 / 1.887 GB, free: 5.109 MB / 1.42 GB Notification: Performance of Templates: time 0.2492/2.63, allocations: 143.9 MB / 2.028 GB, free: 6.047 MB / 1.561 GB " [Timeout remaining time 297] 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/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: 36.46167625579983]