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.001437/0.001437, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001729/0.001729, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.965 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.238/3.238, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_12_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_12_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.002083/0.002083, allocations: 68.48 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3893, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.00255/0.3918, allocations: 1.308 MB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3935, allocations: 0.9115 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.3935, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.3937, allocations: 7.984 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.661e-05/0.3937, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.3943, allocations: 198.8 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.771e-05/0.3944, allocations: 15.94 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.3945, allocations: 7.984 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.3945, allocations: 11.94 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.3945, allocations: 3.984 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3945, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.395, allocations: 267.6 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.3951, allocations: 23.91 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.3951, allocations: 11.88 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.3955, allocations: 227.7 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3955, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3955, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3955, allocations: 0 / 1.329 GB, free: 14.94 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.0004272/0.3959, allocations: 305.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3959, allocations: 8.031 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.396, allocations: 34.75 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.396, allocations: 8.891 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3961, allocations: 118.4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3961, allocations: 384 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3961, allocations: 384 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.3963, allocations: 57.81 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3963, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3963, allocations: 3.984 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3963, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.309e-05/0.3963, allocations: 35.92 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.3965, allocations: 148.8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.3966, allocations: 46.56 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.3966, allocations: 28.91 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.3967, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.3967, allocations: 42.48 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3967, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.3969, allocations: 85.58 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3969, allocations: 55.39 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3971, allocations: 139.3 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3971, allocations: 25.83 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.3972, allocations: 96.09 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.3972, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.3972, allocations: 29.64 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3973, allocations: 310.8 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.3974, allocations: 47.97 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.3974, allocations: 43.98 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3976, allocations: 96.81 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3976, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001565/0.3977, allocations: 145.5 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3977, allocations: 4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3977, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3978, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.3978, allocations: 7.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3978, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.3978, allocations: 7.953 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3978, allocations: 4 kB / 1.331 GB, free: 12.85 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 8.523e-05/0.3979, allocations: 113.8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.3979, allocations: 11.94 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.3981, allocations: 85.19 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3981, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3981, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3981, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.3982, allocations: 148.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3982, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.3982, allocations: 7.938 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3982, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3982, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3982, allocations: 4.031 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3982, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.3983, allocations: 93.11 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.3984, allocations: 15.83 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3984, allocations: 3.938 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.3984, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.3984, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.3984, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.3985, allocations: 111.3 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3985, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002694/0.3987, allocations: 59.86 kB / 1.331 GB, free: 12.12 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.0006918/0.3994, allocations: 0.6996 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.3996, allocations: 63.91 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3996, allocations: 3.938 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.3996, allocations: 23.98 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3999, allocations: 34.06 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4014, allocations: 1.53 MB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.4017, allocations: 0.6885 MB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.4017, allocations: 8.031 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.4017, allocations: 15.44 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4017, allocations: 0 / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.4327, allocations: 3.48 MB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.54, allocations: 4.906 kB / 1.338 GB, free: 5.645 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/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: 18.484068362999096]