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.001998/0.001998, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002531/0.002531, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.494/3.494, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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.976e-06/2.976e-06, allocations: 0 / 0.8776 GB, free: 5.281 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.916e-05/4.214e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003231/0.003274, allocations: 1.348 MB / 0.879 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.2403/0.2436, allocations: 129.9 MB / 1.006 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.2436, allocations: 0 / 1.006 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 8.425e-05/0.2437, allocations: 3.938 kB / 1.006 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.244, allocations: 47.8 kB / 1.006 GB, free: 1.543 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.2456, allocations: 366.3 kB / 1.006 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.2458, allocations: 67.7 kB / 1.006 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.2458, allocations: 11.98 kB / 1.006 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 8.891e-05/0.2459, allocations: 39.89 kB / 1.006 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2461, allocations: 51.94 kB / 1.006 GB, free: 1.016 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2461, allocations: 0 / 1.006 GB, free: 1.016 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008872/0.247, allocations: 375 kB / 1.007 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.2471, allocations: 27.97 kB / 1.007 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.2471, allocations: 19.94 kB / 1.007 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006111/0.2477, allocations: 303.1 kB / 1.007 GB, free: 312 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2477, allocations: 4 kB / 1.007 GB, free: 308 kB / 0.9167 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2477, allocations: 0 / 1.007 GB, free: 308 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2477, allocations: 0 / 1.007 GB, free: 308 kB / 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.0006806/0.2484, allocations: 329.6 kB / 1.007 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.2485, allocations: 8.031 kB / 1.007 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.2486, allocations: 16.89 kB / 1.007 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.2487, allocations: 109.5 kB / 1.007 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2487, allocations: 4 kB / 1.008 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.2488, allocations: 0 / 1.008 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.249, allocations: 93.64 kB / 1.008 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.249, allocations: 0 / 1.008 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.2491, allocations: 8 kB / 1.008 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.2491, allocations: 11.98 kB / 1.008 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.2493, allocations: 79.89 kB / 1.008 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.2499, allocations: 276.4 kB / 1.008 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.2501, allocations: 94.48 kB / 1.008 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.2502, allocations: 48.89 kB / 1.008 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008829/0.2511, allocations: 95.88 kB / 1.008 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.2511, allocations: 38.56 kB / 1.008 GB, free: 15 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.2511, allocations: 0 / 1.008 GB, free: 15 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.0003584/0.2515, allocations: 133.6 kB / 1.008 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.2516, allocations: 55.34 kB / 1.008 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2517, allocations: 113.9 kB / 1.009 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.2517, allocations: 25.7 kB / 1.009 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.2518, allocations: 100.2 kB / 1.009 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.2518, allocations: 39.62 kB / 1.009 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.2519, allocations: 33.7 kB / 1.009 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.2521, allocations: 318.8 kB / 1.009 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.2522, allocations: 31.98 kB / 1.009 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.2523, allocations: 73.12 kB / 1.009 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.2525, allocations: 116.9 kB / 1.009 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2525, allocations: 0 / 1.009 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002611/0.2528, allocations: 145.5 kB / 1.009 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2528, allocations: 8 kB / 1.009 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2528, allocations: 0 / 1.009 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/0.2528, allocations: 4 kB / 1.009 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.253, allocations: 23.98 kB / 1.009 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.253, allocations: 7.875 kB / 1.009 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.253, allocations: 15.89 kB / 1.009 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2531, allocations: 11.98 kB / 1.009 GB, free: 13.67 MB / 0.9323 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.0001297/0.2532, allocations: 117.8 kB / 1.01 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.2532, allocations: 8 kB / 1.01 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.2535, allocations: 134.5 kB / 1.01 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2535, allocations: 4 kB / 1.01 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.2535, allocations: 3.938 kB / 1.01 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2535, allocations: 0 / 1.01 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.2537, allocations: 129.2 kB / 1.01 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2537, allocations: 0 / 1.01 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.2538, allocations: 19.98 kB / 1.01 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2538, allocations: 0 / 1.01 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2538, allocations: 0 / 1.01 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2538, allocations: 4 kB / 1.01 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2538, allocations: 0 / 1.01 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.2541, allocations: 211.3 kB / 1.01 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.2541, allocations: 19.92 kB / 1.01 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.2542, allocations: 4.25 kB / 1.01 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.561e-05/0.2542, allocations: 0 / 1.01 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.2542, allocations: 11.98 kB / 1.01 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.2543, allocations: 7.938 kB / 1.01 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.2543, allocations: 91.27 kB / 1.01 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2543, allocations: 0 / 1.01 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000415/0.2548, allocations: 79.73 kB / 1.01 GB, free: 12.78 MB / 0.9323 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.0004474/0.2552, allocations: 182.9 kB / 1.01 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2554, allocations: 83.83 kB / 1.01 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2554, allocations: 3.938 kB / 1.01 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/0.2555, allocations: 32.73 kB / 1.011 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2558, allocations: 25.02 kB / 1.011 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.2566, allocations: 185.2 kB / 1.011 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.2568, allocations: 75.28 kB / 1.011 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.2569, allocations: 56.36 kB / 1.011 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.2569, allocations: 16.5 kB / 1.011 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of SimCode: time 6.01e-07/0.2569, allocations: 0 / 1.011 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of Templates: time 0.007006/0.264, allocations: 1.956 MB / 1.013 GB, free: 10.19 MB / 0.9323 GB " [Timeout remaining time 300] 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: 10.261685288976878]