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.001918/0.001918, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002403/0.002403, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.84/2.84, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.0024/0.0024, allocations: 67.91 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9729/0.9753, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002107/0.9774, allocations: 1.304 MB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.9788, allocations: 0.8315 MB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.9788, allocations: 0 / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.979, allocations: 13.97 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.327e-05/0.979, allocations: 3.469 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.9795, allocations: 191.1 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.9796, allocations: 23.3 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.9796, allocations: 3.188 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.9796, allocations: 13.67 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.9797, allocations: 10.16 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.689e-06/0.9797, allocations: 2.969 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.9801, allocations: 250.5 kB / 1.157 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.9801, allocations: 18.89 kB / 1.157 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.9801, allocations: 9.094 kB / 1.157 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.9804, allocations: 220.9 kB / 1.157 GB, free: 31.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9804, allocations: 0 / 1.157 GB, free: 31.69 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9804, allocations: 4 kB / 1.157 GB, free: 31.69 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.9804, allocations: 0 / 1.157 GB, free: 31.69 MB / 1.076 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.0002915/0.9807, allocations: 301.3 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.9808, allocations: 8.438 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.9808, allocations: 11.89 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.167e-05/0.9809, allocations: 120.8 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.9809, allocations: 3.188 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-06/0.9809, allocations: 384 / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.981, allocations: 55.42 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.981, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.981, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.981, allocations: 4 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.981, allocations: 40.5 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.9811, allocations: 124.8 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.553e-05/0.9812, allocations: 51.86 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.9812, allocations: 22.53 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.9812, allocations: 2.906 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.9813, allocations: 40.59 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.9813, allocations: 0 / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.9814, allocations: 88.12 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.9814, allocations: 62.25 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.9815, allocations: 138.4 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.9815, allocations: 32.55 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.9815, allocations: 92.09 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.9816, allocations: 7.281 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.9816, allocations: 15.72 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.9816, allocations: 321.1 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.9817, allocations: 40.41 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.9817, allocations: 41.39 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.696e-05/0.9818, allocations: 100.5 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9818, allocations: 4 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001079/0.9819, allocations: 132 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.9819, allocations: 7.656 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9819, allocations: 3.938 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.9819, allocations: 2.656 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.982, allocations: 2.688 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.982, allocations: 3.422 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.982, allocations: 7.891 kB / 1.159 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.982, allocations: 2.5 kB / 1.159 GB, free: 30.18 MB / 1.076 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.627e-05/0.982, allocations: 115.7 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.982, allocations: 10.16 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.9821, allocations: 90.48 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.9821, allocations: 0 / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.9821, allocations: 0 / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9821, allocations: 0 / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.517e-05/0.9822, allocations: 122.3 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.9822, allocations: 0 / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.9822, allocations: 2.531 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.9822, allocations: 0 / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.9822, allocations: 2.656 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9822, allocations: 3.938 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9822, allocations: 8.031 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.827e-05/0.9823, allocations: 91.2 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.9823, allocations: 6.703 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.9823, allocations: 0 / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.141e-05/0.9823, allocations: 3.938 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.9823, allocations: 17.91 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.9823, allocations: 0 / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.9824, allocations: 102.1 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9824, allocations: 0 / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002571/0.9826, allocations: 64.45 kB / 1.159 GB, free: 29.68 MB / 1.076 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.0002721/0.9829, allocations: 165.5 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.983, allocations: 70.23 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.983, allocations: 0 / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-05/0.983, allocations: 14.16 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.9833, allocations: 37.34 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.9836, allocations: 165.7 kB / 1.16 GB, free: 29.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.9836, allocations: 70.05 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.9836, allocations: 11.23 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.9836, allocations: 11.5 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9836, allocations: 0 / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of Templates: time 0.004626/0.9883, allocations: 2.235 MB / 1.162 GB, free: 29.14 MB / 1.076 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 -s ida -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: 9.142184566007927]