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.0008549/0.0008549, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001915, allocations: 449.8 kB / 10.44 MB, free: 248 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.000988/0.000988, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002318, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.8926/0.8926, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08145/0.974, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.751/1.751, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4043/2.155, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.123e-05, allocations: 2.859 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001421/0.001432, allocations: 1.373 MB / 0.731 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.002412, allocations: 0.871 MB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.002433, allocations: 4.562 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.209e-05/0.002525, allocations: 6 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.187e-05/0.002547, allocations: 9.953 kB / 0.7319 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.002876, allocations: 169.2 kB / 0.7321 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.002932, allocations: 17.41 kB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.647e-05/0.002958, allocations: 0 / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.003004, allocations: 16.97 kB / 0.7321 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.343e-05/0.003037, allocations: 10.11 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.003046, allocations: 0.6875 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.003366, allocations: 277.2 kB / 0.7324 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.003405, allocations: 19.05 kB / 0.7324 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.003419, allocations: 7.5 kB / 0.7324 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.003649, allocations: 217.2 kB / 0.7326 GB, free: 1.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.003658, allocations: 1 kB / 0.7326 GB, free: 1.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.4e-07/0.003659, allocations: 0 / 0.7326 GB, free: 1.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.003667, allocations: 0 / 0.7326 GB, free: 1.43 MB / 0.698 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.0002828/0.00395, allocations: 301.9 kB / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.498e-05/0.003975, allocations: 8.031 kB / 0.7329 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.003998, allocations: 0.9375 kB / 0.7329 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.261e-05/0.00407, allocations: 121.7 kB / 0.733 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.004078, allocations: 4.312 kB / 0.733 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.004086, allocations: 1.188 kB / 0.733 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.038e-05/0.004146, allocations: 33.59 kB / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.004151, allocations: 192 / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-06/0.004156, allocations: 2.062 kB / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.004184, allocations: 15.92 kB / 0.7331 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.298e-05/0.004197, allocations: 8 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.225e-05/0.004269, allocations: 62.7 kB / 0.7331 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.004307, allocations: 34.23 kB / 0.7332 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.144e-05/0.004319, allocations: 9.984 kB / 0.7332 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.004347, allocations: 7.984 kB / 0.7332 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.004365, allocations: 34.56 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.004367, allocations: 5.734 kB / 0.7332 GB, free: 0.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 6.659e-05/0.004433, allocations: 41.62 kB / 0.7333 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.004461, allocations: 55.41 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.00452, allocations: 122.7 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.004527, allocations: 26.89 kB / 0.7335 GB, free: 440 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.004555, allocations: 100 kB / 0.7336 GB, free: 336 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.004568, allocations: 3.953 kB / 0.7336 GB, free: 332 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.00459, allocations: 18.38 kB / 0.7336 GB, free: 308 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.004847, allocations: 326.8 kB / 0.7339 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.004862, allocations: 11.95 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.004871, allocations: 8 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.0049, allocations: 27.66 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.004901, allocations: 0.5938 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.773e-05/0.004949, allocations: 46.22 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.004958, allocations: 8.531 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.004963, allocations: 0 / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.004971, allocations: 1.562 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.005012, allocations: 7.938 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/0.005014, allocations: 0 / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.005025, allocations: 7.875 kB / 0.734 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.00503, allocations: 1.219 kB / 0.734 GB, free: 15.85 MB / 0.7136 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.251e-05/0.005072, allocations: 112.7 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-06/0.005077, allocations: 3.984 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.005132, allocations: 42.45 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.005133, allocations: 0 / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.005134, allocations: 0.9375 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005137, allocations: 3.984 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.881e-05/0.005186, allocations: 73.83 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005186, allocations: 0.5 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-06/0.005195, allocations: 4.75 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.005202, allocations: 7.953 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005204, allocations: 4.734 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-06/0.005207, allocations: 3.938 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.005207, allocations: 0.8125 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005208, allocations: 0 / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.963e-05/0.005248, allocations: 72.09 kB / 0.7343 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-06/0.005254, allocations: 7.938 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-06/0.005259, allocations: 0 / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-06/0.005267, allocations: 1.25 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.005268, allocations: 0 / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.969e-05/0.005288, allocations: 26.38 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005288, allocations: 0 / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001375/0.005425, allocations: 61.09 kB / 0.7344 GB, free: 15.38 MB / 0.7136 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.0001883/0.005614, allocations: 166.5 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.548e-05/0.005669, allocations: 20.8 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.005677, allocations: 0 / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.005695, allocations: 28.28 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.005888, allocations: 300.3 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.006169, allocations: 142.1 kB / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.006198, allocations: 71.33 kB / 0.7351 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.006215, allocations: 6.969 kB / 0.7351 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.006268, allocations: 63.36 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/0.006268, allocations: 0 / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.003529/0.009798, allocations: 2.664 MB / 0.7378 GB, free: 12.01 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower/Buildings_12_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: 4.602366901934147]