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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 191.2 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.19/3.19, allocations: 0.4893 GB / 0.7884 GB, free: 33.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002012/0.002012, allocations: 73.58 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3403, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002464/0.3428, allocations: 1.341 MB / 1.317 GB, free: 8.398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.5254, allocations: 148.3 MB / 1.462 GB, free: 3.473 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.5255, allocations: 0 / 1.462 GB, free: 3.473 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/0.5255, allocations: 0 / 1.462 GB, free: 3.473 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.5257, allocations: 43.86 kB / 1.462 GB, free: 3.43 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.527, allocations: 370.5 kB / 1.463 GB, free: 3.066 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.5272, allocations: 67.81 kB / 1.463 GB, free: 3 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.5272, allocations: 0 / 1.463 GB, free: 3 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.5273, allocations: 43.83 kB / 1.463 GB, free: 2.957 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.5274, allocations: 55.88 kB / 1.463 GB, free: 2.902 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.5274, allocations: 0 / 1.463 GB, free: 2.902 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008274/0.5283, allocations: 431.1 kB / 1.463 GB, free: 2.48 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.5283, allocations: 27.91 kB / 1.463 GB, free: 2.453 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.5284, allocations: 23.88 kB / 1.463 GB, free: 2.43 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.5289, allocations: 275.2 kB / 1.464 GB, free: 2.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5289, allocations: 4 kB / 1.464 GB, free: 2.156 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5289, allocations: 0 / 1.464 GB, free: 2.156 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.5289, allocations: 4 kB / 1.464 GB, free: 2.152 MB / 1.154 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.0004597/0.5293, allocations: 325.7 kB / 1.464 GB, free: 1.805 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5294, allocations: 8.031 kB / 1.464 GB, free: 1.797 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.5294, allocations: 4.891 kB / 1.464 GB, free: 1.793 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.5295, allocations: 114.4 kB / 1.464 GB, free: 1.656 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5295, allocations: 15.81 kB / 1.464 GB, free: 1.641 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.5295, allocations: 0 / 1.464 GB, free: 1.641 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.5297, allocations: 103.8 kB / 1.464 GB, free: 1.535 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5297, allocations: 4 kB / 1.464 GB, free: 1.531 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.5298, allocations: 3.984 kB / 1.464 GB, free: 1.527 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.5298, allocations: 11.98 kB / 1.464 GB, free: 1.516 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.5299, allocations: 83.89 kB / 1.464 GB, free: 1.434 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.5304, allocations: 307.8 kB / 1.464 GB, free: 1.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.5306, allocations: 98.53 kB / 1.465 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.5307, allocations: 44.91 kB / 1.465 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.5314, allocations: 87.88 kB / 1.465 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.5314, allocations: 42.59 kB / 1.465 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.5314, allocations: 0 / 1.465 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0002725/0.5317, allocations: 125.5 kB / 1.465 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.5317, allocations: 55.34 kB / 1.465 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.5318, allocations: 109.8 kB / 1.465 GB, free: 500 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.5319, allocations: 29.7 kB / 1.465 GB, free: 464 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.5319, allocations: 100.3 kB / 1.465 GB, free: 360 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.532, allocations: 35.69 kB / 1.465 GB, free: 324 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.532, allocations: 33.67 kB / 1.465 GB, free: 284 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5322, allocations: 326.8 kB / 1.466 GB, free: 15.95 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.5322, allocations: 27.98 kB / 1.466 GB, free: 15.92 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5323, allocations: 73.06 kB / 1.466 GB, free: 15.83 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.5325, allocations: 121.4 kB / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5325, allocations: 0 / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002135/0.5327, allocations: 137.5 kB / 1.466 GB, free: 15.55 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5327, allocations: 4 kB / 1.466 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5327, allocations: 0 / 1.466 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5327, allocations: 4 kB / 1.466 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.5328, allocations: 36.02 kB / 1.466 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5328, allocations: 4 kB / 1.466 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.5329, allocations: 15.89 kB / 1.466 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.5329, allocations: 4 kB / 1.466 GB, free: 15.49 MB / 1.17 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.829e-05/0.533, allocations: 121.8 kB / 1.466 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.533, allocations: 7.953 kB / 1.466 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.5333, allocations: 126 kB / 1.466 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5333, allocations: 7.938 kB / 1.466 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5333, allocations: 0 / 1.466 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5333, allocations: 7.938 kB / 1.466 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.5335, allocations: 156.6 kB / 1.466 GB, free: 15.01 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5335, allocations: 0 / 1.466 GB, free: 15.01 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.5336, allocations: 20.23 kB / 1.466 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5336, allocations: 0 / 1.466 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5336, allocations: 4 kB / 1.466 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5336, allocations: 7.938 kB / 1.466 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5336, allocations: 0 / 1.466 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.5338, allocations: 199.4 kB / 1.467 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.5338, allocations: 15.94 kB / 1.467 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.5338, allocations: 0 / 1.467 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.5339, allocations: 11.94 kB / 1.467 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.5339, allocations: 3.984 kB / 1.467 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.5339, allocations: 4 kB / 1.467 GB, free: 14.73 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.534, allocations: 91.27 kB / 1.467 GB, free: 14.64 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.534, allocations: 0 / 1.467 GB, free: 14.64 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003468/0.5343, allocations: 79.73 kB / 1.467 GB, free: 14.57 MB / 1.17 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.0003388/0.5346, allocations: 183.5 kB / 1.467 GB, free: 14.38 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.5348, allocations: 87.77 kB / 1.467 GB, free: 14.29 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5348, allocations: 4.312 kB / 1.467 GB, free: 14.29 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.5349, allocations: 31.98 kB / 1.467 GB, free: 14.26 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.5352, allocations: 16.64 kB / 1.467 GB, free: 14.24 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.5356, allocations: 178.7 kB / 1.467 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.5359, allocations: 0.6922 MB / 1.468 GB, free: 13.32 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.5361, allocations: 57.02 kB / 1.468 GB, free: 13.27 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.5361, allocations: 11.44 kB / 1.468 GB, free: 13.26 MB / 1.17 GB Notification: Performance of SimCode: time 2.9e-07/0.5361, allocations: 0 / 1.468 GB, free: 13.26 MB / 1.17 GB Notification: Performance of Templates: time 0.005651/0.5418, allocations: 1.994 MB / 1.47 GB, free: 11.32 MB / 1.17 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: 9.308841673657298]