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.001334/0.001334, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001545/0.001545, allocations: 216.1 kB / 23.01 MB, free: 4.566 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.23/3.23, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002048/0.002048, allocations: 73.92 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.36, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2537/0.6137, allocations: 241.5 MB / 1.59 GB, free: 5.602 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.8762/1.49, allocations: 43.6 MB / 1.633 GB, free: 59.95 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01092/1.501, allocations: 329.1 kB / 1.633 GB, free: 59.95 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/1.512, allocations: 3.307 MB / 1.636 GB, free: 59.9 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02635/1.538, allocations: 8.295 MB / 1.644 GB, free: 59.62 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01574/1.554, allocations: 5.913 MB / 1.65 GB, free: 59.44 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04213/1.596, allocations: 26.95 MB / 1.676 GB, free: 59.39 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01426/1.61, allocations: 7.509 MB / 1.684 GB, free: 58.5 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0248/1.635, allocations: 10.37 MB / 1.694 GB, free: 54.27 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01435/1.649, allocations: 7.014 MB / 1.701 GB, free: 51.59 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004088/1.653, allocations: 1.047 MB / 1.702 GB, free: 51.59 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/1.668, allocations: 3.682 MB / 1.705 GB, free: 50.6 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005202/1.673, allocations: 2.697 MB / 1.708 GB, free: 48.95 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01444/1.687, allocations: 5.513 MB / 1.713 GB, free: 45.38 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02905/1.716, allocations: 18.49 MB / 1.731 GB, free: 35.53 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.716, allocations: 0 / 1.731 GB, free: 35.53 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.833e-06/1.716, allocations: 0 / 1.731 GB, free: 35.53 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000589/1.717, allocations: 0 / 1.731 GB, free: 35.53 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.02942/1.746, allocations: 10.51 MB / 1.742 GB, free: 28.41 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.746, allocations: 10.59 kB / 1.742 GB, free: 28.41 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009383/1.756, allocations: 1.499 MB / 1.743 GB, free: 27.68 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02119/1.777, allocations: 11.07 MB / 1.754 GB, free: 18.77 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/1.777, allocations: 0.5053 MB / 1.754 GB, free: 18.23 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/1.779, allocations: 0.5102 MB / 1.755 GB, free: 17.73 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/1.796, allocations: 7.372 MB / 1.762 GB, free: 10.18 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/1.796, allocations: 7.938 kB / 1.762 GB, free: 10.18 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008606/1.797, allocations: 206.3 kB / 1.762 GB, free: 9.977 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/1.797, allocations: 139.9 kB / 1.762 GB, free: 9.84 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/1.81, allocations: 6.387 MB / 1.769 GB, free: 3.438 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.05979/1.87, allocations: 34.47 MB / 1.802 GB, free: 15.1 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006162/1.876, allocations: 2.485 MB / 1.805 GB, free: 12.62 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004149/1.88, allocations: 1.757 MB / 1.806 GB, free: 10.86 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.881, allocations: 243.8 kB / 1.807 GB, free: 10.64 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00475/1.886, allocations: 1.897 MB / 1.808 GB, free: 8.727 MB / 1.342 GB Notification: Performance of pre-optimization done (n=212): time 6.152e-06/1.886, allocations: 4 kB / 1.808 GB, free: 8.723 MB / 1.342 GB Notification: Performance of matching and sorting (n=212): time 0.0149/1.901, allocations: 5.164 MB / 1.814 GB, free: 3.551 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/1.901, allocations: 76.53 kB / 1.814 GB, free: 3.465 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02187/1.923, allocations: 9.219 MB / 1.823 GB, free: 10.27 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.0009483/1.923, allocations: 85.7 kB / 1.823 GB, free: 10.18 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.006069/1.93, allocations: 3.825 MB / 1.826 GB, free: 6.352 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/1.931, allocations: 0.7792 MB / 1.827 GB, free: 5.582 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/1.933, allocations: 0.7806 MB / 1.828 GB, free: 4.793 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.933, allocations: 301.1 kB / 1.828 GB, free: 4.496 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/1.937, allocations: 1.747 MB / 1.83 GB, free: 2.746 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005916/1.943, allocations: 3.36 MB / 1.833 GB, free: 14.76 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00931/1.952, allocations: 4.44 MB / 1.838 GB, free: 9.871 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.202e-05/1.952, allocations: 8 kB / 1.838 GB, free: 9.863 MB / 1.373 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01476/1.967, allocations: 5.263 MB / 1.843 GB, free: 4.547 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/1.967, allocations: 28.12 kB / 1.843 GB, free: 4.52 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.169e-05/1.967, allocations: 32 kB / 1.843 GB, free: 4.488 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-05/1.967, allocations: 48 kB / 1.843 GB, free: 4.441 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/1.971, allocations: 0.8229 MB / 1.844 GB, free: 3.617 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.554e-05/1.971, allocations: 75.72 kB / 1.844 GB, free: 3.543 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007879/1.979, allocations: 0.6651 MB / 1.844 GB, free: 2.875 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008498/1.98, allocations: 156 kB / 1.844 GB, free: 2.723 MB / 1.373 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.007421/1.987, allocations: 3.046 MB / 1.847 GB, free: 15.66 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003169/1.99, allocations: 0.7646 MB / 1.848 GB, free: 14.89 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/2.002, allocations: 4.255 MB / 1.852 GB, free: 10.64 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/2.002, allocations: 24 kB / 1.852 GB, free: 10.62 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/2.002, allocations: 0 / 1.852 GB, free: 10.62 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00739/2.009, allocations: 3.363 MB / 1.856 GB, free: 7.207 MB / 1.389 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.02862/2.038, allocations: 11.4 MB / 1.867 GB, free: 11.72 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/2.038, allocations: 4 kB / 1.867 GB, free: 11.72 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/2.041, allocations: 0.5581 MB / 1.867 GB, free: 11.16 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-05/2.041, allocations: 15.94 kB / 1.867 GB, free: 11.14 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/2.041, allocations: 75.94 kB / 1.867 GB, free: 11.07 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/2.041, allocations: 12 kB / 1.867 GB, free: 11.06 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.041, allocations: 0 / 1.867 GB, free: 11.06 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/2.056, allocations: 6.394 MB / 1.874 GB, free: 4.621 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005656/2.061, allocations: 1.413 MB / 1.875 GB, free: 3.211 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0027/2.064, allocations: 55.98 kB / 1.875 GB, free: 3.156 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006387/2.07, allocations: 287.6 kB / 1.875 GB, free: 2.875 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006527/2.071, allocations: 149.7 kB / 1.876 GB, free: 2.727 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004533/2.071, allocations: 115.9 kB / 1.876 GB, free: 2.613 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01616/2.088, allocations: 6.557 MB / 1.882 GB, free: 12.08 MB / 1.42 GB Notification: Performance of sort global known variables: time 2.4e-07/2.088, allocations: 0 / 1.882 GB, free: 12.08 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.00983/2.097, allocations: 2.105 MB / 1.884 GB, free: 9.973 MB / 1.42 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.00291/2.1, allocations: 1.067 MB / 1.885 GB, free: 8.996 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.009822/2.11, allocations: 3.859 MB / 1.889 GB, free: 5.141 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/2.11, allocations: 4.438 kB / 1.889 GB, free: 5.137 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.004162/2.114, allocations: 1.725 MB / 1.891 GB, free: 3.41 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02422/2.139, allocations: 4.591 MB / 1.895 GB, free: 14.96 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03821/2.177, allocations: 15.84 MB / 1.911 GB, free: 15.19 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008359/2.185, allocations: 5.234 MB / 1.916 GB, free: 9.934 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002755/2.188, allocations: 0.5656 MB / 1.916 GB, free: 9.367 MB / 1.451 GB Notification: Performance of SimCode: time 1.282e-06/2.188, allocations: 0 / 1.916 GB, free: 9.367 MB / 1.451 GB Notification: Performance of Templates: time 0.2432/2.431, allocations: 152.1 MB / 2.065 GB, free: 2.121 MB / 1.592 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/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: 40.50267071399139]