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.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.001442/0.001442, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001606/0.001606, allocations: 191.6 kB / 22.11 MB, free: 4.223 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.501/1.501, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.877/2.877, allocations: 495.8 MB / 0.783 GB, free: 12.29 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-maint.12.x/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_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 0.002022/0.002022, allocations: 71.83 kB / 1.137 GB, free: 12.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8858/0.8878, allocations: 173.6 MB / 1.307 GB, free: 34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002313/0.8901, allocations: 1.34 MB / 1.308 GB, free: 33.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1747/1.065, allocations: 146.7 MB / 1.451 GB, free: 6.828 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/1.065, allocations: 1.062 kB / 1.451 GB, free: 6.828 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/1.065, allocations: 5.438 kB / 1.451 GB, free: 6.824 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/1.065, allocations: 43.27 kB / 1.451 GB, free: 6.812 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/1.066, allocations: 369.3 kB / 1.452 GB, free: 6.637 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/1.066, allocations: 63.59 kB / 1.452 GB, free: 6.621 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/1.066, allocations: 2.969 kB / 1.452 GB, free: 6.621 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.399e-05/1.067, allocations: 32.5 kB / 1.452 GB, free: 6.613 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/1.067, allocations: 60.97 kB / 1.452 GB, free: 6.598 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/1.067, allocations: 1.281 kB / 1.452 GB, free: 6.598 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007953/1.067, allocations: 368.9 kB / 1.452 GB, free: 6.473 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/1.068, allocations: 33.25 kB / 1.452 GB, free: 6.461 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/1.068, allocations: 27.52 kB / 1.452 GB, free: 6.449 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005703/1.068, allocations: 261 kB / 1.453 GB, free: 6.379 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.068, allocations: 1.031 kB / 1.453 GB, free: 6.379 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.844e-06/1.068, allocations: 0 / 1.453 GB, free: 6.379 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.651e-06/1.068, allocations: 0 / 1.453 GB, free: 6.379 MB / 1.139 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.0005191/1.069, allocations: 323.7 kB / 1.453 GB, free: 6.074 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/1.069, allocations: 9.062 kB / 1.453 GB, free: 6.074 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/1.069, allocations: 11.66 kB / 1.453 GB, free: 6.066 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.069, allocations: 113.9 kB / 1.453 GB, free: 5.934 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.069, allocations: 5.812 kB / 1.453 GB, free: 5.93 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/1.069, allocations: 6.172 kB / 1.453 GB, free: 5.926 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/1.069, allocations: 89.47 kB / 1.453 GB, free: 5.883 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/1.069, allocations: 3.938 kB / 1.453 GB, free: 5.879 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.069, allocations: 4 kB / 1.453 GB, free: 5.875 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/1.069, allocations: 11.31 kB / 1.453 GB, free: 5.875 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/1.069, allocations: 80.55 kB / 1.453 GB, free: 5.859 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/1.07, allocations: 312.7 kB / 1.454 GB, free: 5.59 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/1.07, allocations: 101.9 kB / 1.454 GB, free: 5.543 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/1.07, allocations: 46.48 kB / 1.454 GB, free: 5.527 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007472/1.071, allocations: 90.52 kB / 1.454 GB, free: 5.516 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/1.071, allocations: 32.22 kB / 1.454 GB, free: 5.477 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/1.071, allocations: 1.312 kB / 1.454 GB, free: 5.477 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.000282/1.071, allocations: 120.2 kB / 1.454 GB, free: 5.422 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/1.071, allocations: 58.17 kB / 1.454 GB, free: 5.355 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/1.071, allocations: 113.8 kB / 1.454 GB, free: 5.25 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/1.071, allocations: 30.83 kB / 1.454 GB, free: 5.215 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/1.071, allocations: 101 kB / 1.454 GB, free: 5.117 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/1.072, allocations: 39.92 kB / 1.454 GB, free: 5.086 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/1.072, allocations: 34.86 kB / 1.454 GB, free: 5.059 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.072, allocations: 324.4 kB / 1.455 GB, free: 4.738 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/1.072, allocations: 27.7 kB / 1.455 GB, free: 4.734 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.234e-05/1.072, allocations: 77.11 kB / 1.455 GB, free: 4.676 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/1.072, allocations: 110.6 kB / 1.455 GB, free: 4.605 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.072, allocations: 4 kB / 1.455 GB, free: 4.602 MB / 1.139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002137/1.072, allocations: 145.5 kB / 1.455 GB, free: 4.531 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.072, allocations: 5.344 kB / 1.455 GB, free: 4.531 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.072, allocations: 7.359 kB / 1.455 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.072, allocations: 1.375 kB / 1.455 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.072, allocations: 33.25 kB / 1.455 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.072, allocations: 3.297 kB / 1.455 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/1.072, allocations: 18.52 kB / 1.455 GB, free: 4.504 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/1.072, allocations: 6.125 kB / 1.455 GB, free: 4.504 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.0001066/1.073, allocations: 131.9 kB / 1.455 GB, free: 4.375 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/1.073, allocations: 8.141 kB / 1.455 GB, free: 4.371 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/1.073, allocations: 119.7 kB / 1.455 GB, free: 4.309 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.073, allocations: 9.844 kB / 1.455 GB, free: 4.301 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.073, allocations: 3.938 kB / 1.455 GB, free: 4.297 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.073, allocations: 1.922 kB / 1.455 GB, free: 4.297 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/1.073, allocations: 151 kB / 1.455 GB, free: 4.133 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.073, allocations: 4.703 kB / 1.455 GB, free: 4.129 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/1.073, allocations: 16.97 kB / 1.455 GB, free: 4.129 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.073, allocations: 3.938 kB / 1.455 GB, free: 4.125 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/1.073, allocations: 1.562 kB / 1.455 GB, free: 4.125 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.073, allocations: 5.812 kB / 1.455 GB, free: 4.121 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.073, allocations: 0 / 1.455 GB, free: 4.121 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/1.073, allocations: 192.9 kB / 1.456 GB, free: 3.973 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/1.073, allocations: 17.08 kB / 1.456 GB, free: 3.965 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.073, allocations: 6 kB / 1.456 GB, free: 3.961 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/1.074, allocations: 9.156 kB / 1.456 GB, free: 3.953 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/1.074, allocations: 5.781 kB / 1.456 GB, free: 3.953 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/1.074, allocations: 3.672 kB / 1.456 GB, free: 3.953 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.559e-05/1.074, allocations: 92.84 kB / 1.456 GB, free: 3.871 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.074, allocations: 0 / 1.456 GB, free: 3.871 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003948/1.074, allocations: 78.83 kB / 1.456 GB, free: 3.848 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.0003711/1.074, allocations: 191.2 kB / 1.456 GB, free: 3.727 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001844/1.075, allocations: 80.52 kB / 1.456 GB, free: 3.711 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.075, allocations: 0 / 1.456 GB, free: 3.711 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.479e-05/1.075, allocations: 35.89 kB / 1.456 GB, free: 3.703 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/1.075, allocations: 27.77 kB / 1.456 GB, free: 3.688 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/1.075, allocations: 176.7 kB / 1.456 GB, free: 3.559 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/1.076, allocations: 0.6936 MB / 1.457 GB, free: 2.859 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000124/1.076, allocations: 54.53 kB / 1.457 GB, free: 2.852 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/1.076, allocations: 13.22 kB / 1.457 GB, free: 2.844 MB / 1.139 GB Notification: Performance of SimCode: time 2.91e-07/1.076, allocations: 1.25 kB / 1.457 GB, free: 2.844 MB / 1.139 GB Notification: Performance of Templates: time 0.006194/1.082, allocations: 1.992 MB / 1.459 GB, free: 2.652 MB / 1.139 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400] 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: 9.241332817822695]