Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007933/0.0007933, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001864, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006916/0.0006916, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008986/0.00159, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.958/0.958, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08056/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.311/2.311, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2194/2.531, allocations: 146 MB / 0.8176 GB, free: 3.848 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.819 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.091e-05, allocations: 2.312 kB / 0.819 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001813/0.001834, allocations: 1.378 MB / 0.8203 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002876, allocations: 0.8684 MB / 0.8212 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.002899, allocations: 4 kB / 0.8212 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.003013, allocations: 15.92 kB / 0.8212 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.197e-05/0.003035, allocations: 7.922 kB / 0.8212 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.003404, allocations: 170.5 kB / 0.8213 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.003461, allocations: 15.94 kB / 0.8214 GB, free: 4 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.003491, allocations: 4 kB / 0.8214 GB, free: 0 / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.003541, allocations: 16.05 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.003586, allocations: 7.969 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.003597, allocations: 4 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.003949, allocations: 271.6 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.003994, allocations: 19.92 kB / 0.8217 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.00401, allocations: 11.94 kB / 0.8217 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.004249, allocations: 207.4 kB / 0.8219 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.004261, allocations: 8 kB / 0.8219 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004262, allocations: 0 / 0.8219 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.004273, allocations: 0 / 0.8219 GB, free: 15.46 MB / 0.8073 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.0003222/0.004595, allocations: 304 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.004627, allocations: 8.031 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.004655, allocations: 8.922 kB / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.077e-05/0.004736, allocations: 113.7 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.004746, allocations: 4.375 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.004754, allocations: 384 / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.001e-05/0.004824, allocations: 40.59 kB / 0.8223 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-06/0.004829, allocations: 8 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.004835, allocations: 0 / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.004867, allocations: 7.984 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.171e-05/0.004879, allocations: 4 kB / 0.8224 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.912e-05/0.004958, allocations: 74.69 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.004999, allocations: 25.42 kB / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.005012, allocations: 8.922 kB / 0.8225 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.005044, allocations: 4 kB / 0.8225 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.005061, allocations: 34.5 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.005062, allocations: 4 kB / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.842e-05/0.00514, allocations: 41.62 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.005163, allocations: 51.41 kB / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.005226, allocations: 133.2 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.005234, allocations: 29.7 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.005259, allocations: 84.12 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.005273, allocations: 3.953 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.005296, allocations: 25.69 kB / 0.8229 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.005367, allocations: 314.8 kB / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.005385, allocations: 10.83 kB / 0.8232 GB, free: 14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-06/0.005394, allocations: 12.06 kB / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.005427, allocations: 31.72 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005429, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.682e-05/0.005486, allocations: 53.69 kB / 0.8233 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.005496, allocations: 4 kB / 0.8233 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.005502, allocations: 0 / 0.8233 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.005513, allocations: 3.938 kB / 0.8233 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-05/0.005558, allocations: 4 kB / 0.8233 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.00556, allocations: 0 / 0.8233 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.005575, allocations: 11.89 kB / 0.8233 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.005579, allocations: 0 / 0.8233 GB, free: 13.87 MB / 0.8073 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 4.603e-05/0.005625, allocations: 116.6 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.005631, allocations: 7.984 kB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.005697, allocations: 41.31 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.005699, allocations: 4.031 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.005703, allocations: 11.98 kB / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005705, allocations: 0 / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.102e-05/0.005756, allocations: 69.89 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005757, allocations: 0 / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.005768, allocations: 4 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.005776, allocations: 7.938 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005778, allocations: 4.031 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-06/0.00578, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.005781, allocations: 4 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.005782, allocations: 3.938 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.6e-05/0.005828, allocations: 66.72 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-06/0.005835, allocations: 0 / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-06/0.00584, allocations: 0 / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-06/0.00585, allocations: 4 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.005853, allocations: 3.938 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.003e-05/0.005873, allocations: 24.83 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005873, allocations: 4.031 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001655/0.006039, allocations: 59.86 kB / 0.8237 GB, free: 13.38 MB / 0.8073 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.0002344/0.006273, allocations: 164.2 kB / 0.8239 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.794e-05/0.006341, allocations: 20.84 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.006345, allocations: 3.984 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.006368, allocations: 27.62 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.006595, allocations: 292.9 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.006931, allocations: 142.1 kB / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.006961, allocations: 65.55 kB / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.006985, allocations: 7.938 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.007042, allocations: 63.36 kB / 0.8245 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.007043, allocations: 4.094 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.004002/0.01104, allocations: 2.666 MB / 0.8271 GB, free: 9.895 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.027140256948769]