Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001246/0.001246, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001321/0.001321, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.139/3.139, allocations: 0.505 GB / 0.8066 GB, free: 23.23 MB / 0.6231 GB " [Timeout remaining time 177] 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.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter",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.002213/0.002213, allocations: 72.3 kB / 1.172 GB, free: 17.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3288, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02553/0.3543, allocations: 23.6 MB / 1.371 GB, free: 2.273 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00885/0.3631, allocations: 5.092 MB / 1.376 GB, free: 13.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.3644, allocations: 35.69 kB / 1.376 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009189/0.3653, allocations: 290 kB / 1.376 GB, free: 12.85 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.3675, allocations: 0.8202 MB / 1.377 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.3696, allocations: 0.7783 MB / 1.378 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002184/0.3718, allocations: 1.609 MB / 1.379 GB, free: 9.637 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.3724, allocations: 413.6 kB / 1.38 GB, free: 9.227 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.3741, allocations: 0.7345 MB / 1.38 GB, free: 8.492 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006133/0.3748, allocations: 473.9 kB / 1.381 GB, free: 8.027 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.094e-05/0.3748, allocations: 48 kB / 1.381 GB, free: 7.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3759, allocations: 0.5147 MB / 1.381 GB, free: 7.465 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.3761, allocations: 139.5 kB / 1.381 GB, free: 7.328 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.3765, allocations: 310.5 kB / 1.382 GB, free: 7.023 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.3782, allocations: 0.9498 MB / 1.383 GB, free: 6.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3782, allocations: 3.938 kB / 1.383 GB, free: 6.066 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3782, allocations: 4 kB / 1.383 GB, free: 6.062 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.3782, allocations: 0 / 1.383 GB, free: 6.062 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.00155/0.3797, allocations: 0.9067 MB / 1.384 GB, free: 5.102 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.3798, allocations: 15.98 kB / 1.384 GB, free: 5.086 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.735e-05/0.3799, allocations: 74.72 kB / 1.384 GB, free: 5.004 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.3801, allocations: 68.56 kB / 1.384 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.3812, allocations: 0.5885 MB / 1.384 GB, free: 4.312 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.3812, allocations: 29 kB / 1.384 GB, free: 4.285 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.3813, allocations: 36 kB / 1.384 GB, free: 4.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.382, allocations: 444.7 kB / 1.385 GB, free: 3.797 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.382, allocations: 0 / 1.385 GB, free: 3.797 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.3821, allocations: 16 kB / 1.385 GB, free: 3.781 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.3821, allocations: 12 kB / 1.385 GB, free: 3.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.3826, allocations: 307.8 kB / 1.385 GB, free: 3.465 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.3854, allocations: 1.912 MB / 1.387 GB, free: 1.422 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.386, allocations: 248.7 kB / 1.387 GB, free: 1.172 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.3861, allocations: 112.8 kB / 1.387 GB, free: 1.059 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008855/0.387, allocations: 0.8506 MB / 1.388 GB, free: 24 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.3871, allocations: 38.56 kB / 1.388 GB, free: 15.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.3871, allocations: 0 / 1.388 GB, free: 15.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.000722/0.3878, allocations: 377.7 kB / 1.389 GB, free: 15.6 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3878, allocations: 55.41 kB / 1.389 GB, free: 15.54 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/0.3884, allocations: 474.1 kB / 1.389 GB, free: 15.06 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3885, allocations: 33.7 kB / 1.389 GB, free: 15.02 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.3887, allocations: 264.3 kB / 1.389 GB, free: 14.76 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/0.3888, allocations: 95.17 kB / 1.389 GB, free: 14.67 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3889, allocations: 73.97 kB / 1.39 GB, free: 14.59 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3891, allocations: 362.7 kB / 1.39 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.3892, allocations: 92.61 kB / 1.39 GB, free: 14.14 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.3895, allocations: 176.1 kB / 1.39 GB, free: 13.94 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.3899, allocations: 282.7 kB / 1.39 GB, free: 13.64 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3899, allocations: 0 / 1.39 GB, free: 13.64 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006043/0.3905, allocations: 365.1 kB / 1.391 GB, free: 13.28 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3906, allocations: 4 kB / 1.391 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.3906, allocations: 4 kB / 1.391 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.3906, allocations: 16.19 kB / 1.391 GB, free: 13.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.3909, allocations: 71.91 kB / 1.391 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3909, allocations: 7.984 kB / 1.391 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.3911, allocations: 35.67 kB / 1.391 GB, free: 13.14 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.3912, allocations: 12 kB / 1.391 GB, free: 13.13 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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 prepare postOptimizeDAE: time 0.0002039/0.3914, allocations: 181.8 kB / 1.391 GB, free: 12.94 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.3915, allocations: 51.67 kB / 1.391 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008458/0.3923, allocations: 480.7 kB / 1.392 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.3923, allocations: 7.938 kB / 1.392 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3923, allocations: 0 / 1.392 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000623/0.393, allocations: 0.5648 MB / 1.392 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.3948, allocations: 1.164 MB / 1.393 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3948, allocations: 0 / 1.393 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.3951, allocations: 52.11 kB / 1.393 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3951, allocations: 4 kB / 1.393 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.3951, allocations: 19.92 kB / 1.393 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3951, allocations: 4 kB / 1.393 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3951, allocations: 3.938 kB / 1.393 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/0.396, allocations: 0.668 MB / 1.394 GB, free: 9.73 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.3962, allocations: 172.6 kB / 1.394 GB, free: 9.543 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.3963, allocations: 8 kB / 1.394 GB, free: 9.535 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3965, allocations: 15.98 kB / 1.394 GB, free: 9.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.3966, allocations: 35.84 kB / 1.394 GB, free: 9.484 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.3966, allocations: 16 kB / 1.394 GB, free: 9.469 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004767/0.3971, allocations: 346.8 kB / 1.395 GB, free: 9.133 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.3971, allocations: 0 / 1.395 GB, free: 9.133 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000692/0.3978, allocations: 199.6 kB / 1.395 GB, free: 8.938 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001618/0.3994, allocations: 1.369 MB / 1.396 GB, free: 7.523 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005018/0.3999, allocations: 280.1 kB / 1.396 GB, free: 7.25 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3999, allocations: 0 / 1.396 GB, free: 7.25 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.4002, allocations: 155.7 kB / 1.397 GB, free: 7.098 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.4017, allocations: 340.7 kB / 1.397 GB, free: 6.777 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/0.4077, allocations: 4.23 MB / 1.401 GB, free: 2.375 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.4084, allocations: 0.8666 MB / 1.402 GB, free: 1.48 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004705/0.4088, allocations: 120.6 kB / 1.402 GB, free: 1.359 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.4092, allocations: 191.4 kB / 1.402 GB, free: 1.172 MB / 1.092 GB Notification: Performance of SimCode: time 1.042e-06/0.4092, allocations: 0 / 1.402 GB, free: 1.172 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05025/0.4594, allocations: 16.98 MB / 1.419 GB, free: 452 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/9.12, allocations: 7.125 kB / 1.419 GB, free: 448 kB / 1.107 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senHeaFlo.Q_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable senHeaFlo.Q_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! Error: Could not read variable heaFloRat.Q_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable heaFloRat.Q_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.666784520028159]