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.001803/0.001803, allocations: 103 kB / 16.45 MB, free: 6.449 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.002256/0.002256, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.177/3.177, allocations: 0.505 GB / 0.8066 GB, free: 23.08 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.002314/0.002314, allocations: 69.42 kB / 1.172 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.406, allocations: 180.2 MB / 1.348 GB, free: 9.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.003153/0.4091, allocations: 1.285 MB / 1.349 GB, free: 8.641 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.4109, allocations: 0.8963 MB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.4109, allocations: 0 / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.4111, allocations: 11.97 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.05e-05/0.4112, allocations: 3.938 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.4118, allocations: 193.6 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.003e-05/0.4119, allocations: 19.92 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.4119, allocations: 4 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.412, allocations: 7.938 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.412, allocations: 11.98 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.412, allocations: 4 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.4125, allocations: 255.5 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.4125, allocations: 15.92 kB / 1.35 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.4126, allocations: 19.88 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.4129, allocations: 215.7 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.413, allocations: 3.938 kB / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.413, allocations: 0 / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.413, allocations: 0 / 1.351 GB, free: 6.992 MB / 1.045 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.0005282/0.4135, allocations: 382.9 kB / 1.351 GB, free: 6.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4135, allocations: 11.98 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.4136, allocations: 30.75 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.4136, allocations: 8.938 kB / 1.351 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.4138, allocations: 180.3 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4138, allocations: 4.125 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.4138, allocations: 3.938 kB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.4139, allocations: 37.7 kB / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4139, allocations: 0 / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4139, allocations: 7.984 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4139, allocations: 4 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.414, allocations: 27.92 kB / 1.351 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.4143, allocations: 177.7 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.4144, allocations: 54.5 kB / 1.352 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.4144, allocations: 20.92 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.4144, allocations: 7.984 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4145, allocations: 34.56 kB / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4145, allocations: 0 / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001986/0.4147, allocations: 85.56 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.4147, allocations: 59.53 kB / 1.352 GB, free: 5.688 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.4149, allocations: 133.8 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.4149, allocations: 25.7 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.415, allocations: 104.1 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.415, allocations: 3.953 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.415, allocations: 13.72 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4152, allocations: 322.8 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.4152, allocations: 39.98 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.196e-05/0.4153, allocations: 48.53 kB / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4154, allocations: 96.83 kB / 1.353 GB, free: 4.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4154, allocations: 3.938 kB / 1.353 GB, free: 4.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001579/0.4156, allocations: 129.7 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4156, allocations: 4 kB / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4156, allocations: 4 kB / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4156, allocations: 0 / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.4157, allocations: 3.984 kB / 1.353 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4157, allocations: 7.938 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.4157, allocations: 3.953 kB / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.4157, allocations: 4 kB / 1.353 GB, free: 4.715 MB / 1.045 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.464e-05/0.4158, allocations: 121.8 kB / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.4158, allocations: 7.938 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.416, allocations: 73.16 kB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.416, allocations: 96 / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.416, allocations: 7.938 kB / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.416, allocations: 3.984 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.4161, allocations: 173.6 kB / 1.353 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4161, allocations: 4.031 kB / 1.353 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.4161, allocations: 8 kB / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.4161, allocations: 0 / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4162, allocations: 4 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4162, allocations: 0 / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4162, allocations: 3.984 kB / 1.353 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.4163, allocations: 89.06 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.4163, allocations: 85 kB / 1.353 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.4163, allocations: 4.031 kB / 1.353 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.4164, allocations: 4 kB / 1.353 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.4164, allocations: 11.92 kB / 1.353 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.4164, allocations: 0 / 1.353 GB, free: 4.016 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.906e-05/0.4165, allocations: 101.8 kB / 1.353 GB, free: 3.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4165, allocations: 0 / 1.353 GB, free: 3.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002743/0.4167, allocations: 67.84 kB / 1.353 GB, free: 3.852 MB / 1.045 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.0007478/0.4175, allocations: 0.6958 MB / 1.354 GB, free: 3.129 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.4176, allocations: 63.91 kB / 1.354 GB, free: 3.066 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4176, allocations: 0 / 1.354 GB, free: 3.066 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/0.4177, allocations: 24.03 kB / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.4179, allocations: 23.91 kB / 1.354 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.4196, allocations: 1.526 MB / 1.356 GB, free: 1.414 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.42, allocations: 0.6923 MB / 1.356 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.42, allocations: 4 kB / 1.356 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.42, allocations: 19.44 kB / 1.356 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.42, allocations: 0 / 1.356 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.4478, allocations: 3.423 MB / 1.36 GB, free: 13.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.786, allocations: 5.359 kB / 1.36 GB, free: 13.46 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 15.72037162212655]