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.001887/0.001887, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002264/0.002264, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.629/1.629, allocations: 230.6 MB / 256 MB, free: 7.742 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.476/3.476, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002108/0.002108, allocations: 75.14 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4419, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002863/0.4447, allocations: 1.289 MB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.4464, allocations: 0.8386 MB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.4465, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.4467, allocations: 11.92 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.4467, allocations: 8 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.4474, allocations: 191.5 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.4474, allocations: 15.92 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.4475, allocations: 4 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.4475, allocations: 11.94 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.4476, allocations: 7.984 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.4476, allocations: 0 / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/0.4481, allocations: 255.6 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.4481, allocations: 15.92 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.4482, allocations: 15.92 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.4485, allocations: 219.6 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4485, allocations: 4 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.318e-06/0.4485, allocations: 3.984 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4485, allocations: 0 / 1.366 GB, free: 11.15 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.0004358/0.449, allocations: 301.9 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.449, allocations: 8.031 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.4491, allocations: 34.73 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.4491, allocations: 12.89 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.4492, allocations: 110.5 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4492, allocations: 4.125 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.4492, allocations: 7.984 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.4494, allocations: 49.69 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4494, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.4494, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.4494, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.4495, allocations: 35.92 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.4497, allocations: 152.7 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.856e-05/0.4497, allocations: 50.5 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.4498, allocations: 24.92 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.4498, allocations: 7.984 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.4499, allocations: 34.56 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4499, allocations: 3.938 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.45, allocations: 89.61 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.4501, allocations: 51.41 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4502, allocations: 144.5 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4503, allocations: 25.7 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.4503, allocations: 92.12 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.4503, allocations: 7.891 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.4504, allocations: 21.72 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4505, allocations: 318.8 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.4506, allocations: 44.11 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.4506, allocations: 51.97 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.4507, allocations: 96.77 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4507, allocations: 3.938 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001601/0.4509, allocations: 133.6 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4509, allocations: 4 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4509, allocations: 0 / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4509, allocations: 0 / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.451, allocations: 7.984 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.451, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.451, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.451, allocations: 8 kB / 1.368 GB, free: 9.059 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 8.962e-05/0.4511, allocations: 118.9 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.4511, allocations: 11.94 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.4513, allocations: 69.25 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4513, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4513, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.4513, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.4514, allocations: 152.7 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4514, allocations: 0 / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.4514, allocations: 4 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4514, allocations: 4.031 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-06/0.4514, allocations: 0 / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4514, allocations: 0 / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4514, allocations: 0 / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.4516, allocations: 108.9 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.4516, allocations: 8.031 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.4516, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.4516, allocations: 3.984 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.4516, allocations: 4 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.4516, allocations: 3.984 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.98e-05/0.4517, allocations: 103.3 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4517, allocations: 4 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003052/0.452, allocations: 71.73 kB / 1.369 GB, free: 8.32 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.0007243/0.4527, allocations: 0.6826 MB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.4529, allocations: 71.91 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4529, allocations: 0 / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.437e-05/0.4529, allocations: 20.02 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.4532, allocations: 33.62 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.4547, allocations: 1.534 MB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.329e-05/0.4548, allocations: 75.33 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.4548, allocations: 4 kB / 1.371 GB, free: 5.773 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.4549, allocations: 15.5 kB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4549, allocations: 0 / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.4908, allocations: 4.021 MB / 1.375 GB, free: 1.949 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.77, allocations: 8.547 kB / 1.375 GB, free: 1.941 MB / 1.061 GB " [Timeout remaining time 287] (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: 20.3703204668127]