Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002249/0.002249, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.00278/0.00278, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.601/1.601, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.114/3.114, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.045e-05/4.266e-05, allocations: 9.328 kB / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002786/0.002829, allocations: 1.367 MB / 0.8122 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2185/0.2213, allocations: 143.4 MB / 0.9522 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.2214, allocations: 0 / 0.9522 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.438e-05/0.2214, allocations: 7.922 kB / 0.9522 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2216, allocations: 47.81 kB / 0.9522 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2228, allocations: 370.2 kB / 0.9526 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.2229, allocations: 63.77 kB / 0.9527 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.223, allocations: 7.938 kB / 0.9527 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.935e-05/0.223, allocations: 39.95 kB / 0.9527 GB, free: 324 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.2232, allocations: 59.86 kB / 0.9528 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2232, allocations: 0 / 0.9528 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.224, allocations: 371 kB / 0.9531 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.224, allocations: 27.92 kB / 0.9531 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.2241, allocations: 15.98 kB / 0.9532 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.2246, allocations: 303.1 kB / 0.9535 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2246, allocations: 0 / 0.9535 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2246, allocations: 0 / 0.9535 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.2247, allocations: 0 / 0.9535 GB, free: 15.55 MB / 0.9167 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.0005432/0.2252, allocations: 427.6 kB / 0.9539 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2252, allocations: 12.03 kB / 0.9539 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.2253, allocations: 12.89 kB / 0.9539 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2254, allocations: 116.5 kB / 0.954 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2254, allocations: 12.31 kB / 0.954 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2254, allocations: 384 / 0.954 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2256, allocations: 65.59 kB / 0.9541 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2256, allocations: 0 / 0.9541 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2256, allocations: 0 / 0.9541 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.2256, allocations: 12 kB / 0.9541 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.2258, allocations: 39.97 kB / 0.9541 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.2263, allocations: 323.5 kB / 0.9544 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.2264, allocations: 75.11 kB / 0.9545 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.2265, allocations: 35.67 kB / 0.9545 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/0.2271, allocations: 75.91 kB / 0.9546 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.2272, allocations: 41.38 kB / 0.9546 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.2272, allocations: 0 / 0.9546 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002842/0.2275, allocations: 97.61 kB / 0.9547 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.2275, allocations: 59.41 kB / 0.9548 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2277, allocations: 169.9 kB / 0.955 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2277, allocations: 25.7 kB / 0.955 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.2278, allocations: 155.1 kB / 0.9551 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.2278, allocations: 39.66 kB / 0.9552 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.2279, allocations: 39.36 kB / 0.9552 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002696/0.2281, allocations: 0.4922 MB / 0.9557 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.2282, allocations: 15.98 kB / 0.9557 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2283, allocations: 75.23 kB / 0.9558 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.2285, allocations: 110 kB / 0.9559 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2285, allocations: 0 / 0.9559 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002085/0.2287, allocations: 121.4 kB / 0.956 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2287, allocations: 4 kB / 0.956 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2287, allocations: 0 / 0.956 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2287, allocations: 4.406 kB / 0.956 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2288, allocations: 31.92 kB / 0.956 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2288, allocations: 8 kB / 0.956 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.2289, allocations: 15.89 kB / 0.9561 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2289, allocations: 4 kB / 0.9561 GB, free: 12.63 MB / 0.9167 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.0001278/0.229, allocations: 168.5 kB / 0.9562 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.2291, allocations: 8 kB / 0.9562 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.2293, allocations: 106.4 kB / 0.9563 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2293, allocations: 3.984 kB / 0.9563 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.2293, allocations: 4 kB / 0.9563 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2293, allocations: 0 / 0.9563 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2295, allocations: 136.5 kB / 0.9565 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2295, allocations: 0 / 0.9565 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.2296, allocations: 19.98 kB / 0.9565 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2296, allocations: 0 / 0.9565 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2296, allocations: 4 kB / 0.9565 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2296, allocations: 4 kB / 0.9565 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2296, allocations: 0 / 0.9565 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.2298, allocations: 239.7 kB / 0.9567 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.2299, allocations: 15.98 kB / 0.9567 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.2299, allocations: 4 kB / 0.9567 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.2299, allocations: 7.984 kB / 0.9567 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.23, allocations: 7.984 kB / 0.9568 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.23, allocations: 4 kB / 0.9568 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.677e-05/0.2301, allocations: 127.2 kB / 0.9569 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.2301, allocations: 0 / 0.9569 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003732/0.2304, allocations: 75.73 kB / 0.957 GB, free: 11.64 MB / 0.9167 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.0003917/0.2308, allocations: 201.3 kB / 0.9571 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.231, allocations: 79.62 kB / 0.9572 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.231, allocations: 0 / 0.9572 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.2311, allocations: 31.67 kB / 0.9572 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2313, allocations: 29.91 kB / 0.9573 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.2318, allocations: 171.2 kB / 0.9574 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.12e-05/0.2318, allocations: 75.33 kB / 0.9575 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.232, allocations: 44.81 kB / 0.9576 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.232, allocations: 20.5 kB / 0.9576 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.232, allocations: 0 / 0.9576 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of Templates: time 0.006407/0.2384, allocations: 1.958 MB / 0.9595 GB, free: 9.055 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.803758242051117]