Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.001784/0.001784, 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.002345/0.002345, allocations: 215.7 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.859/2.859, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [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: 66.28 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.38, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002708/0.3827, allocations: 1.353 MB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1904/0.5731, allocations: 151.2 MB / 1.434 GB, free: 2.102 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.5732, allocations: 3.938 kB / 1.434 GB, free: 2.098 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.5732, allocations: 0 / 1.434 GB, free: 2.098 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.5734, allocations: 43.86 kB / 1.434 GB, free: 2.055 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.5747, allocations: 370.5 kB / 1.434 GB, free: 1.691 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.5748, allocations: 67.77 kB / 1.434 GB, free: 1.625 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.5749, allocations: 4 kB / 1.434 GB, free: 1.621 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.5749, allocations: 31.97 kB / 1.434 GB, free: 1.59 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.5751, allocations: 59.86 kB / 1.434 GB, free: 1.531 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.5751, allocations: 4 kB / 1.434 GB, free: 1.527 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008281/0.5759, allocations: 443 kB / 1.435 GB, free: 1.094 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.576, allocations: 27.91 kB / 1.435 GB, free: 1.066 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.576, allocations: 23.88 kB / 1.435 GB, free: 1.043 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.5765, allocations: 279.2 kB / 1.435 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5765, allocations: 4 kB / 1.435 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5765, allocations: 0 / 1.435 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.5765, allocations: 3.938 kB / 1.435 GB, free: 0.7617 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004569/0.577, allocations: 329.6 kB / 1.435 GB, free: 420 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.577, allocations: 12.03 kB / 1.435 GB, free: 408 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.5771, allocations: 8.891 kB / 1.435 GB, free: 400 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.5772, allocations: 110.4 kB / 1.435 GB, free: 264 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.5772, allocations: 11.94 kB / 1.435 GB, free: 252 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.5772, allocations: 0 / 1.435 GB, free: 252 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.5774, allocations: 97.64 kB / 1.435 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5774, allocations: 0 / 1.435 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5774, allocations: 0 / 1.435 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/0.5774, allocations: 15.98 kB / 1.435 GB, free: 132 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.5776, allocations: 75.95 kB / 1.436 GB, free: 56 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.5781, allocations: 311.8 kB / 1.436 GB, free: 15.71 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.5783, allocations: 98.47 kB / 1.436 GB, free: 15.6 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.5784, allocations: 44.91 kB / 1.436 GB, free: 15.55 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.5791, allocations: 91.81 kB / 1.436 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.5791, allocations: 38.56 kB / 1.436 GB, free: 15.42 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.5791, allocations: 0 / 1.436 GB, free: 15.42 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.0002945/0.5794, allocations: 121.6 kB / 1.436 GB, free: 15.29 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.5795, allocations: 55.34 kB / 1.436 GB, free: 15.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.5796, allocations: 109.8 kB / 1.436 GB, free: 15.11 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.5796, allocations: 33.7 kB / 1.436 GB, free: 15.07 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.5797, allocations: 104.3 kB / 1.437 GB, free: 14.96 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.5797, allocations: 43.69 kB / 1.437 GB, free: 14.92 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.5797, allocations: 29.66 kB / 1.437 GB, free: 14.89 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5799, allocations: 318.8 kB / 1.437 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.5799, allocations: 31.98 kB / 1.437 GB, free: 14.54 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.58, allocations: 76.08 kB / 1.437 GB, free: 14.45 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.5802, allocations: 117 kB / 1.437 GB, free: 14.31 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5802, allocations: 0 / 1.437 GB, free: 14.31 MB / 1.139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002103/0.5804, allocations: 145.5 kB / 1.437 GB, free: 14.16 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5804, allocations: 4 kB / 1.437 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5804, allocations: 7.938 kB / 1.437 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5804, allocations: 0 / 1.437 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5805, allocations: 31.92 kB / 1.437 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5805, allocations: 0 / 1.437 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.5806, allocations: 15.89 kB / 1.437 GB, free: 14.11 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.5806, allocations: 4 kB / 1.437 GB, free: 14.1 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001056/0.5807, allocations: 129.8 kB / 1.437 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.5807, allocations: 8 kB / 1.437 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.581, allocations: 126.4 kB / 1.438 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.581, allocations: 7.938 kB / 1.438 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.581, allocations: 0 / 1.438 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.581, allocations: 7.922 kB / 1.438 GB, free: 13.81 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.5812, allocations: 148.7 kB / 1.438 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5812, allocations: 256 / 1.438 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.5813, allocations: 19.98 kB / 1.438 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5813, allocations: 4 kB / 1.438 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5813, allocations: 4 kB / 1.438 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.5813, allocations: 7.875 kB / 1.438 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5813, allocations: 3.984 kB / 1.438 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.5815, allocations: 199.5 kB / 1.438 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.5815, allocations: 7.953 kB / 1.438 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.5815, allocations: 11.98 kB / 1.438 GB, free: 13.35 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.5816, allocations: 7.875 kB / 1.438 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.5816, allocations: 11.98 kB / 1.438 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.5816, allocations: 0 / 1.438 GB, free: 13.33 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.5817, allocations: 87.28 kB / 1.438 GB, free: 13.25 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5817, allocations: 0 / 1.438 GB, free: 13.25 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000363/0.582, allocations: 87.67 kB / 1.438 GB, free: 13.16 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0003461/0.5824, allocations: 182.9 kB / 1.438 GB, free: 12.97 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.5826, allocations: 84.05 kB / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5826, allocations: 0 / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.5826, allocations: 35.92 kB / 1.438 GB, free: 12.86 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.5829, allocations: 11.98 kB / 1.438 GB, free: 12.84 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.5833, allocations: 208.9 kB / 1.439 GB, free: 12.61 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.5836, allocations: 0.6924 MB / 1.439 GB, free: 11.89 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.5837, allocations: 19.44 kB / 1.439 GB, free: 11.87 MB / 1.139 GB Notification: Performance of SimCode: time 3.51e-07/0.5837, allocations: 3.938 kB / 1.439 GB, free: 11.87 MB / 1.139 GB Notification: Performance of Templates: time 0.004167/0.5878, allocations: 1.891 MB / 1.441 GB, free: 9.984 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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: 12.15973660099553]