Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001927/0.001927, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.002391/0.002391, allocations: 159.6 kB / 22.46 MB, free: 5.375 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.731/1.731, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.263/3.263, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.749e-05/3.969e-05, allocations: 5.797 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003158/0.003197, allocations: 1.343 MB / 1.001 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.2335/0.2367, allocations: 129.9 MB / 1.128 GB, free: 3.531 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.2368, allocations: 0 / 1.128 GB, free: 3.531 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.78e-05/0.2369, allocations: 3.984 kB / 1.128 GB, free: 3.527 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.2372, allocations: 43.81 kB / 1.128 GB, free: 3.484 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.239, allocations: 370.2 kB / 1.129 GB, free: 3.121 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.2392, allocations: 63.81 kB / 1.129 GB, free: 3.059 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.2393, allocations: 7.938 kB / 1.129 GB, free: 3.051 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.2394, allocations: 39.89 kB / 1.129 GB, free: 3.012 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.2395, allocations: 55.92 kB / 1.129 GB, free: 2.957 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.2396, allocations: 3.938 kB / 1.129 GB, free: 2.953 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008744/0.2404, allocations: 367 kB / 1.129 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.2405, allocations: 23.97 kB / 1.129 GB, free: 2.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.2406, allocations: 23.92 kB / 1.129 GB, free: 2.547 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.2412, allocations: 295.2 kB / 1.13 GB, free: 2.258 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2412, allocations: 4 kB / 1.13 GB, free: 2.254 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2412, allocations: 0 / 1.13 GB, free: 2.254 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2412, allocations: 0 / 1.13 GB, free: 2.254 MB / 1.076 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.0006086/0.2418, allocations: 333.5 kB / 1.13 GB, free: 1.898 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.2419, allocations: 11.98 kB / 1.13 GB, free: 1.887 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.2419, allocations: 12.88 kB / 1.13 GB, free: 1.875 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.2421, allocations: 113.5 kB / 1.13 GB, free: 1.738 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.2421, allocations: 4 kB / 1.13 GB, free: 1.734 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.2421, allocations: 7.984 kB / 1.13 GB, free: 1.727 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2423, allocations: 93.64 kB / 1.13 GB, free: 1.629 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2424, allocations: 8 kB / 1.13 GB, free: 1.621 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2424, allocations: 0 / 1.13 GB, free: 1.621 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.2424, allocations: 8 kB / 1.13 GB, free: 1.613 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.2426, allocations: 87.88 kB / 1.13 GB, free: 1.527 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.2432, allocations: 276.4 kB / 1.13 GB, free: 1.227 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.2434, allocations: 98.52 kB / 1.131 GB, free: 1.121 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2436, allocations: 56.83 kB / 1.131 GB, free: 1.062 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000884/0.2444, allocations: 91.92 kB / 1.131 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.2445, allocations: 38.5 kB / 1.131 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.552e-06/0.2445, allocations: 0 / 1.131 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0003609/0.2449, allocations: 121.5 kB / 1.131 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.2449, allocations: 59.34 kB / 1.131 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2451, allocations: 109.8 kB / 1.131 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.2451, allocations: 29.7 kB / 1.131 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.2452, allocations: 96.36 kB / 1.131 GB, free: 492 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.2452, allocations: 39.64 kB / 1.131 GB, free: 452 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.2453, allocations: 33.66 kB / 1.131 GB, free: 412 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.2455, allocations: 326.8 kB / 1.132 GB, free: 76 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.2456, allocations: 27.98 kB / 1.132 GB, free: 48 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023/1.269, allocations: 74.81 kB / 1.132 GB, free: 177.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/1.269, allocations: 112 kB / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.269, allocations: 0 / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002792/1.269, allocations: 130.8 kB / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.269, allocations: 6.125 kB / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.269, allocations: 8.938 kB / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/1.269, allocations: 3.125 kB / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/1.269, allocations: 28.59 kB / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.269, allocations: 9.969 kB / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/1.27, allocations: 11.11 kB / 1.132 GB, free: 177.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/1.27, allocations: 5.688 kB / 1.132 GB, free: 177.2 MB / 1.076 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 9.869e-05/1.27, allocations: 125.4 kB / 1.132 GB, free: 177.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/1.27, allocations: 5.812 kB / 1.132 GB, free: 177.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/1.27, allocations: 128.7 kB / 1.132 GB, free: 177 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.27, allocations: 3.75 kB / 1.132 GB, free: 177 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.27, allocations: 2.812 kB / 1.132 GB, free: 177 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.27, allocations: 3.375 kB / 1.132 GB, free: 177 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/1.27, allocations: 123.4 kB / 1.132 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.27, allocations: 0 / 1.132 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/1.27, allocations: 14.34 kB / 1.132 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.27, allocations: 6.188 kB / 1.132 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/1.27, allocations: 6.125 kB / 1.132 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.27, allocations: 3.812 kB / 1.132 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.27, allocations: 0 / 1.132 GB, free: 176.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/1.27, allocations: 201 kB / 1.133 GB, free: 176.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/1.27, allocations: 14.84 kB / 1.133 GB, free: 176.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/1.27, allocations: 7.219 kB / 1.133 GB, free: 176.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/1.271, allocations: 0.5 kB / 1.133 GB, free: 176.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/1.271, allocations: 8.453 kB / 1.133 GB, free: 176.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/1.271, allocations: 4.5 kB / 1.133 GB, free: 176.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.297e-05/1.271, allocations: 88.27 kB / 1.133 GB, free: 176.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.271, allocations: 2.969 kB / 1.133 GB, free: 176.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004968/1.271, allocations: 81.77 kB / 1.133 GB, free: 176.7 MB / 1.076 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.0004266/1.272, allocations: 196.9 kB / 1.133 GB, free: 176.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001957/1.272, allocations: 82.44 kB / 1.133 GB, free: 176.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.272, allocations: 1.062 kB / 1.133 GB, free: 176.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/1.272, allocations: 33.75 kB / 1.133 GB, free: 176.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/1.272, allocations: 20.5 kB / 1.133 GB, free: 176.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/1.273, allocations: 180.3 kB / 1.133 GB, free: 176.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.906e-05/1.273, allocations: 74.19 kB / 1.133 GB, free: 176.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001169/1.273, allocations: 56.52 kB / 1.133 GB, free: 176.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/1.273, allocations: 13.75 kB / 1.133 GB, free: 176.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/1.273, allocations: 0 / 1.133 GB, free: 176.4 MB / 1.076 GB Notification: Performance of Templates: time 0.005628/1.278, allocations: 1.937 MB / 1.135 GB, free: 176.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.232711352407932]