Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.001337/0.001337, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001471/0.001471, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.528/1.528, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.251/3.251, allocations: 0.49 GB / 0.7915 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 73.58 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2987, allocations: 176.1 MB / 1.321 GB, free: 2.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002336/0.3011, allocations: 1.296 MB / 1.323 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3026, allocations: 0.8886 MB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.3026, allocations: 0 / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.3028, allocations: 7.938 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.893e-05/0.3028, allocations: 11.92 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.3034, allocations: 189.8 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.3035, allocations: 16 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.3035, allocations: 7.984 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.3035, allocations: 11.88 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.3036, allocations: 7.984 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.3036, allocations: 0 / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.304, allocations: 247.7 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.3041, allocations: 15.92 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.3041, allocations: 19.88 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.3045, allocations: 223.5 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3045, allocations: 0 / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3045, allocations: 0 / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3045, allocations: 0 / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004315/0.3049, allocations: 386.9 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3049, allocations: 11.98 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.305, allocations: 8.938 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3051, allocations: 176.3 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.3051, allocations: 384 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3051, allocations: 384 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3052, allocations: 57.94 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3052, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.3052, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3052, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.3053, allocations: 31.98 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.3055, allocations: 181.7 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.157e-05/0.3056, allocations: 46.56 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.3056, allocations: 28.84 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.3057, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3057, allocations: 34.5 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3057, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001683/0.3059, allocations: 89.62 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3059, allocations: 51.41 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.306, allocations: 144 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.306, allocations: 25.7 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.3061, allocations: 92.09 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3061, allocations: 3.953 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.3061, allocations: 25.7 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3063, allocations: 314.8 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.3063, allocations: 55.97 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.3064, allocations: 43.98 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3065, allocations: 100.9 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3065, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001582/0.3067, allocations: 133.6 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3067, allocations: 7.938 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3067, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3067, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.223e-05/0.3068, allocations: 4 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3068, allocations: 0 / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.3068, allocations: 7.953 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3068, allocations: 11.88 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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 8.519e-05/0.3069, allocations: 117.8 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.3069, allocations: 7.891 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.307, allocations: 73.2 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.307, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.307, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.307, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.3072, allocations: 173.7 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3072, allocations: 4.031 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.3072, allocations: 4 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3072, allocations: 3.938 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.3072, allocations: 0 / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3072, allocations: 0 / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3072, allocations: 4 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.3073, allocations: 93.05 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.3073, allocations: 89.03 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3074, allocations: 4 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.3074, allocations: 0 / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.3074, allocations: 0 / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3074, allocations: 0 / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.3075, allocations: 111.2 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3075, allocations: 0 / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002831/0.3077, allocations: 55.94 kB / 1.327 GB, free: 12.88 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0003656/0.3081, allocations: 171 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.3082, allocations: 68 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3082, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.3083, allocations: 19.98 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.3086, allocations: 40.05 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.3089, allocations: 169 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3092, allocations: 0.6846 MB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.3092, allocations: 4 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3092, allocations: 15.38 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3092, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of Templates: time 0.005247/0.3145, allocations: 2.136 MB / 1.33 GB, free: 9.59 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.761495855636895]