Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001178/0.001178, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001136/0.001136, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8879/0.8879, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.657/1.657, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_11_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_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.735e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002239/0.002256, allocations: 1.306 MB / 0.9518 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.003952, allocations: 0.8302 MB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.003997, allocations: 7.938 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.004221, allocations: 4 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.993e-05/0.004251, allocations: 11.91 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.004862, allocations: 192.5 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.004925, allocations: 19.92 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.004958, allocations: 0 / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.004993, allocations: 11.98 kB / 0.9529 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.63e-05/0.005029, allocations: 3.984 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.00504, allocations: 4 kB / 0.9529 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.005327, allocations: 259.5 kB / 0.9531 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.005371, allocations: 15.92 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.005392, allocations: 19.92 kB / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.00564, allocations: 251.4 kB / 0.9534 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005642, allocations: 0 / 0.9534 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005643, allocations: 0 / 0.9534 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005648, allocations: 0 / 0.9534 GB, free: 0.5156 MB / 0.9011 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.0003063/0.005954, allocations: 312.4 kB / 0.9537 GB, free: 188 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005993, allocations: 12.03 kB / 0.9537 GB, free: 176 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.006021, allocations: 30.75 kB / 0.9537 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.006041, allocations: 4.891 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.006141, allocations: 121.8 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.006151, allocations: 4.375 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.006159, allocations: 384 / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.819e-05/0.006257, allocations: 50.23 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.006265, allocations: 192 / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.006273, allocations: 4.125 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006278, allocations: 4 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.006324, allocations: 31.98 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.006468, allocations: 148.7 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/0.006533, allocations: 62.5 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.006561, allocations: 24.91 kB / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.006601, allocations: 4 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.006621, allocations: 30.56 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.006622, allocations: 0 / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/0.006771, allocations: 93.56 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.006801, allocations: 51.41 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.006887, allocations: 133.8 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006898, allocations: 25.7 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.006941, allocations: 96.19 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.006955, allocations: 7.953 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.006982, allocations: 21.72 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.007069, allocations: 322.8 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.007109, allocations: 43.92 kB / 0.955 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.007145, allocations: 55.95 kB / 0.955 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.626e-05/0.007222, allocations: 92.83 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007223, allocations: 0 / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.755e-05/0.007321, allocations: 129.6 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007333, allocations: 4 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.007341, allocations: 3.984 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.007353, allocations: 7.938 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.0074, allocations: 7.938 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.007406, allocations: 80 / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.007419, allocations: 3.938 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.007428, allocations: 7.984 kB / 0.9553 GB, free: 14.41 MB / 0.9167 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 5.881e-05/0.007487, allocations: 113.8 kB / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.007492, allocations: 7.953 kB / 0.9554 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.488e-05/0.007577, allocations: 69.31 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.007581, allocations: 3.938 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.007586, allocations: 7.984 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007589, allocations: 4.031 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.218e-05/0.007671, allocations: 140.8 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007672, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-06/0.007682, allocations: 7.938 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.007683, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.007689, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007691, allocations: 3.938 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.007693, allocations: 7.938 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.025e-05/0.007763, allocations: 101.1 kB / 0.9557 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.007769, allocations: 3.953 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.007778, allocations: 4.031 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-06/0.007785, allocations: 3.938 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.007799, allocations: 7.984 kB / 0.9557 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.007801, allocations: 0 / 0.9557 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.007845, allocations: 106.2 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007845, allocations: 0 / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001831/0.008028, allocations: 59.86 kB / 0.9559 GB, free: 13.69 MB / 0.9167 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.0004155/0.008443, allocations: 0.7138 MB / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.977e-05/0.008543, allocations: 67.97 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008544, allocations: 0 / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.008557, allocations: 12 kB / 0.9567 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.008746, allocations: 41.8 kB / 0.9567 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009674/0.009713, allocations: 1.527 MB / 0.9582 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.119e-05/0.009764, allocations: 79.33 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.009787, allocations: 192 / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.009816, allocations: 24.48 kB / 0.9583 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of SimCode: time 8.42e-07/0.009817, allocations: 3.938 kB / 0.9583 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.02828, allocations: 4.141 MB / 0.9623 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/6.892, allocations: 10.89 kB / 0.9623 GB, free: 7.215 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.975706087425351]