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.001457/0.001457, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001648/0.001648, allocations: 217.5 kB / 22.25 MB, free: 4.855 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.805 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.371/3.371, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.002161/0.002161, allocations: 64.22 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.462, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.003533/0.4655, allocations: 1.298 MB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.4676, allocations: 0.826 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.4677, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.4679, allocations: 7.938 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.4679, allocations: 7.922 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009068/0.4689, allocations: 195.5 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.469, allocations: 15.98 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.469, allocations: 4 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.4691, allocations: 11.92 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.4691, allocations: 3.938 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.4691, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005717/0.4697, allocations: 255.5 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.4698, allocations: 15.98 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.4698, allocations: 19.88 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.4703, allocations: 226.5 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4703, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4703, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4703, allocations: 0 / 1.328 GB, free: 14.93 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.0004939/0.4708, allocations: 301.9 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4708, allocations: 8.031 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.4709, allocations: 8.891 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.471, allocations: 118.4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.471, allocations: 8.375 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.471, allocations: 4.375 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.4712, allocations: 53.94 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.4712, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.4712, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4712, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.4713, allocations: 31.98 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.4715, allocations: 133.3 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.4716, allocations: 46.56 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.4717, allocations: 24.91 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/0.4717, allocations: 11.98 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.4718, allocations: 38.5 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4718, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002364/0.472, allocations: 89.56 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.472, allocations: 51.41 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.4722, allocations: 144.2 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4722, allocations: 25.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.4723, allocations: 92.08 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.4723, allocations: 8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.4724, allocations: 13.72 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4725, allocations: 327 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.4726, allocations: 39.98 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.4726, allocations: 43.97 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.4728, allocations: 96.77 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4728, allocations: 4 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001877/0.473, allocations: 133.7 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.473, allocations: 9.234 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.473, allocations: 7.938 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.473, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.4731, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.4731, allocations: 4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.4731, allocations: 15.88 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.4731, allocations: 0 / 1.33 GB, free: 12.91 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.0001196/0.4732, allocations: 122.4 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.4732, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.4734, allocations: 89.08 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4734, allocations: 3.984 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4734, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4734, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.4735, allocations: 121.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4735, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.4736, allocations: 4.031 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4736, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.4736, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4736, allocations: 3.938 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4736, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.4737, allocations: 97.05 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.4737, allocations: 7.891 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4737, allocations: 8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.4738, allocations: 3.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.4738, allocations: 3.984 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.4738, allocations: 4.031 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.059e-05/0.4739, allocations: 105.2 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4739, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003253/0.4742, allocations: 63.86 kB / 1.331 GB, free: 12.21 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.0004694/0.4747, allocations: 159.1 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.4748, allocations: 63.97 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.4749, allocations: 4 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.995e-05/0.4749, allocations: 23.92 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.4752, allocations: 29.69 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.4757, allocations: 165.4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.837e-05/0.4758, allocations: 71.33 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.4758, allocations: 11.97 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.4758, allocations: 7.438 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4758, allocations: 0 / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of Templates: time 0.007212/0.483, allocations: 2.283 MB / 1.334 GB, free: 9.426 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/jenkins/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.754229107871652]