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.001832/0.001832, 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.002752/0.002752, allocations: 217 kB / 22.25 MB, free: 4.852 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.609/1.609, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.395/3.395, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) [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.002313/0.002313, allocations: 75.55 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3994, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002789/0.4022, allocations: 1.306 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4039, allocations: 0.8309 MB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.4039, allocations: 4 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.4041, allocations: 15.92 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.719e-05/0.4041, allocations: 3.984 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.4048, allocations: 195.5 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.4048, allocations: 11.98 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.4049, allocations: 3.984 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.4049, allocations: 8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.405, allocations: 11.92 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.405, allocations: 4 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.4055, allocations: 251.6 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.4055, allocations: 15.98 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.4055, allocations: 15.88 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.4059, allocations: 215.7 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.4059, allocations: 8 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4059, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.4059, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 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.0004178/0.4063, allocations: 313.7 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4064, allocations: 8.031 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.4064, allocations: 30.75 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.4065, allocations: 8.891 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4066, allocations: 114.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4066, allocations: 4.125 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4066, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.4067, allocations: 53.69 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4067, allocations: 3.938 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.4067, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4067, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.4068, allocations: 31.98 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.407, allocations: 148.7 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.4071, allocations: 54.48 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.4071, allocations: 24.92 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.4072, allocations: 4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4072, allocations: 38.55 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4072, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001742/0.4074, allocations: 81.62 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.4074, allocations: 59.39 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.4076, allocations: 144 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.4076, allocations: 25.7 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.4076, allocations: 92.12 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.4077, allocations: 7.938 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.4077, allocations: 17.72 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4079, allocations: 322.8 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.4079, allocations: 40.11 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.408, allocations: 47.98 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4081, allocations: 104.8 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.4081, allocations: 3.938 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001634/0.4083, allocations: 125.6 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4083, allocations: 8 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4083, allocations: 0 / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4083, allocations: 0 / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.4084, allocations: 7.938 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.4084, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.4084, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.4084, allocations: 4 kB / 1.368 GB, free: 9.09 MB / 1.061 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 9.841e-05/0.4085, allocations: 125.8 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.4085, allocations: 4.047 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.4086, allocations: 81.22 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4086, allocations: 0 / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4087, allocations: 3.938 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4087, allocations: 0 / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.4088, allocations: 152.7 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4088, allocations: 0 / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.4088, allocations: 8 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4088, allocations: 4.031 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.4088, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4088, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4088, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.409, allocations: 104.9 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.409, allocations: 7.938 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.409, allocations: 0 / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.409, allocations: 0 / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-06/0.409, allocations: 0 / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.409, allocations: 0 / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.105e-05/0.4091, allocations: 107.2 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4091, allocations: 8.031 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003014/0.4094, allocations: 63.86 kB / 1.369 GB, free: 8.348 MB / 1.061 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.000727/0.4101, allocations: 0.6878 MB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.4103, allocations: 71.91 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4103, allocations: 0 / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.4103, allocations: 20.02 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.4106, allocations: 38.47 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.4122, allocations: 1.532 MB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.739e-05/0.4122, allocations: 71.33 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.4123, allocations: 11.88 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.4123, allocations: 19.5 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/0.4123, allocations: 0 / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.4447, allocations: 4.009 MB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.36, allocations: 10.59 kB / 1.375 GB, free: 1.965 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.521674782037735]