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.001625/0.001625, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001736/0.001736, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.13 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 2.967/2.967, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.00236/0.00236, allocations: 67.91 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252/1.254, allocations: 176.1 MB / 1.322 GB, free: 25.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002236/1.256, allocations: 1.289 MB / 1.323 GB, free: 24.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001305/1.258, allocations: 0.8984 MB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/1.258, allocations: 0 / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/1.258, allocations: 12.86 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/1.258, allocations: 2.844 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/1.259, allocations: 190 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.967e-05/1.259, allocations: 19.75 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/1.259, allocations: 0 / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/1.259, allocations: 12.47 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/1.259, allocations: 6.5 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/1.259, allocations: 2.875 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/1.259, allocations: 253.4 kB / 1.325 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/1.259, allocations: 15.83 kB / 1.325 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/1.259, allocations: 22.22 kB / 1.325 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/1.259, allocations: 217.6 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.259, allocations: 0 / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.259, allocations: 0 / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.259, allocations: 0 / 1.325 GB, free: 23.39 MB / 1.061 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.000374/1.26, allocations: 388.7 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.26, allocations: 14.2 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/1.26, allocations: 0.9375 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/1.26, allocations: 169.5 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/1.26, allocations: 4.375 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/1.26, allocations: 6.938 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/1.26, allocations: 46.52 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.26, allocations: 3.984 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/1.26, allocations: 0 / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.26, allocations: 3.938 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/1.26, allocations: 32.38 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/1.26, allocations: 186.4 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.252e-05/1.26, allocations: 54.27 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/1.26, allocations: 22.14 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/1.26, allocations: 6.5 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/1.26, allocations: 38.5 kB / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/1.261, allocations: 0 / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/1.261, allocations: 85.19 kB / 1.326 GB, free: 22.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/1.261, allocations: 51.41 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/1.261, allocations: 148.2 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/1.261, allocations: 25.7 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/1.261, allocations: 90.81 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/1.261, allocations: 7.953 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/1.261, allocations: 22.14 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.197e-05/1.261, allocations: 320.9 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/1.261, allocations: 41.45 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/1.261, allocations: 42.17 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/1.261, allocations: 100.2 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.261, allocations: 0 / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001182/1.261, allocations: 125.5 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.261, allocations: 9.438 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.261, allocations: 0 / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.261, allocations: 0 / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/1.261, allocations: 6.688 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.261, allocations: 0 / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/1.261, allocations: 14.72 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/1.261, allocations: 0 / 1.327 GB, free: 21.65 MB / 1.061 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 5.495e-05/1.261, allocations: 122.6 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/1.261, allocations: 10.7 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/1.262, allocations: 75.09 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/1.262, allocations: 1 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.262, allocations: 7.375 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/1.262, allocations: 0.5312 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.577e-05/1.262, allocations: 170.3 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.262, allocations: 0 / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/1.262, allocations: 3.125 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.262, allocations: 7.969 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/1.262, allocations: 1.031 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.262, allocations: 0 / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/1.262, allocations: 0.5938 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/1.262, allocations: 98.08 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/1.262, allocations: 86.25 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/1.262, allocations: 0.5938 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/1.262, allocations: 4.844 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/1.262, allocations: 8 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/1.262, allocations: 1.156 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.727e-05/1.262, allocations: 98.47 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.262, allocations: 0.5 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003301/1.262, allocations: 63.14 kB / 1.328 GB, free: 20.98 MB / 1.061 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.0004255/1.263, allocations: 176.8 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001696/1.263, allocations: 58.67 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.263, allocations: 0 / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/1.263, allocations: 20.23 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/1.263, allocations: 35.91 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/1.263, allocations: 201.1 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/1.264, allocations: 0.6898 MB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/1.264, allocations: 10.28 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.264, allocations: 0 / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of Templates: time 0.004453/1.268, allocations: 1.702 MB / 1.33 GB, free: 19.83 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.63012124899251]