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.001323/0.001323, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001681/0.001681, allocations: 213.5 kB / 23.01 MB, free: 4.566 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.162/3.162, allocations: 0.49 GB / 0.7958 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.002098/0.002098, allocations: 70.05 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3395, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002677/0.3421, allocations: 1.297 MB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3439, allocations: 0.9076 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.3439, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.3441, allocations: 11.98 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.141e-05/0.3441, allocations: 11.92 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008427/0.345, allocations: 188.3 kB / 1.33 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3451, allocations: 23.92 kB / 1.33 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.3451, allocations: 0 / 1.33 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.3452, allocations: 11.92 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.3452, allocations: 8 kB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3452, allocations: 0 / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005588/0.3458, allocations: 275.5 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.3459, allocations: 15.92 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.3459, allocations: 15.88 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.3463, allocations: 227.4 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3463, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3463, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.3463, allocations: 0 / 1.33 GB, free: 14.52 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.0005024/0.3468, allocations: 309.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3468, allocations: 8.031 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.3469, allocations: 16.88 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3471, allocations: 114.4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3471, allocations: 384 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.3471, allocations: 8.359 kB / 1.331 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3473, allocations: 50 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3473, allocations: 0 / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3473, allocations: 0 / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3473, allocations: 0 / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.788e-05/0.3474, allocations: 39.92 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.3476, allocations: 152.8 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.545e-05/0.3477, allocations: 46.56 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.3477, allocations: 28.91 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.3478, allocations: 4 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3478, allocations: 38.44 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3478, allocations: 4 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.348, allocations: 89.56 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.3481, allocations: 51.41 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3483, allocations: 141.8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3483, allocations: 25.7 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.3484, allocations: 92.08 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3484, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.3484, allocations: 17.84 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3486, allocations: 326.8 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.3487, allocations: 35.98 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.3487, allocations: 47.97 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3488, allocations: 96.89 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3488, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001809/0.349, allocations: 145.5 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.349, allocations: 7.938 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.349, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3491, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.3491, allocations: 8 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3491, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.3492, allocations: 11.89 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.3492, allocations: 0 / 1.332 GB, free: 12.45 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 0.0001096/0.3493, allocations: 119 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.3493, allocations: 7.938 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.3494, allocations: 77.19 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3494, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3494, allocations: 8.031 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3494, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.3496, allocations: 140.8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3496, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.3496, allocations: 7.984 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.3496, allocations: 3.938 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.3496, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3496, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3496, allocations: 8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.3497, allocations: 89.12 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.3498, allocations: 15.83 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3498, allocations: 3.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.3498, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.3498, allocations: 3.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3498, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001276/0.3499, allocations: 109.9 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3499, allocations: 3.938 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004463/0.3504, allocations: 59.88 kB / 1.333 GB, free: 11.72 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.000502/0.3509, allocations: 159.2 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.351, allocations: 67.97 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.351, allocations: 0 / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/0.3511, allocations: 15.98 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.3514, allocations: 40.95 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.3517, allocations: 187 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.3522, allocations: 0.6885 MB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.3522, allocations: 11.38 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3522, allocations: 0 / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Templates: time 0.004241/0.3564, allocations: 1.709 MB / 1.335 GB, free: 8.801 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/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: 11.439029974979348]