Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001784/0.001784, allocations: 99.64 kB / 18.95 MB, free: 2.664 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.001525/0.001525, allocations: 211.3 kB / 22.24 MB, free: 5.266 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 / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.912/2.912, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_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.002141/0.002141, allocations: 71.22 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.337, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02686/0.3639, allocations: 21.61 MB / 1.304 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.3744, allocations: 4.734 MB / 1.308 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.3755, allocations: 35.69 kB / 1.308 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.3765, allocations: 282.1 kB / 1.309 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.379, allocations: 0.8358 MB / 1.309 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.3812, allocations: 0.7756 MB / 1.31 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.3839, allocations: 1.641 MB / 1.312 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000751/0.3847, allocations: 410 kB / 1.312 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.3863, allocations: 0.6329 MB / 1.313 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006551/0.3869, allocations: 449.9 kB / 1.313 GB, free: 12.94 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.387, allocations: 48 kB / 1.313 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3881, allocations: 423.1 kB / 1.314 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.3882, allocations: 147.4 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.3885, allocations: 254.9 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.3899, allocations: 0.9317 MB / 1.315 GB, free: 11.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3899, allocations: 3.938 kB / 1.315 GB, free: 11.15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3899, allocations: 0 / 1.315 GB, free: 11.15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.3899, allocations: 0 / 1.315 GB, free: 11.15 MB / 1.014 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.001431/0.3914, allocations: 0.8291 MB / 1.316 GB, free: 10.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3914, allocations: 8.031 kB / 1.316 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.989e-05/0.3915, allocations: 82.7 kB / 1.316 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.3917, allocations: 68.52 kB / 1.316 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3928, allocations: 0.5228 MB / 1.316 GB, free: 9.582 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.3929, allocations: 33 kB / 1.316 GB, free: 9.551 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.3929, allocations: 39.94 kB / 1.317 GB, free: 9.512 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.3937, allocations: 0.5056 MB / 1.317 GB, free: 8.965 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3937, allocations: 4 kB / 1.317 GB, free: 8.961 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.3938, allocations: 16 kB / 1.317 GB, free: 8.945 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.3938, allocations: 8 kB / 1.317 GB, free: 8.938 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.3943, allocations: 303.8 kB / 1.317 GB, free: 8.645 MB / 1.014 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.002653/0.397, allocations: 1.513 MB / 1.319 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.3975, allocations: 246.8 kB / 1.319 GB, free: 6.816 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.3977, allocations: 112.8 kB / 1.319 GB, free: 6.703 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/0.3983, allocations: 107.9 kB / 1.319 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3983, allocations: 38.56 kB / 1.319 GB, free: 6.551 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.492e-06/0.3983, allocations: 0 / 1.319 GB, free: 6.551 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0007264/0.399, allocations: 375.9 kB / 1.32 GB, free: 6.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.3991, allocations: 55.41 kB / 1.32 GB, free: 6.113 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.3997, allocations: 482 kB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3998, allocations: 29.7 kB / 1.32 GB, free: 5.598 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.4, allocations: 268.4 kB / 1.32 GB, free: 5.332 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/0.4001, allocations: 99.23 kB / 1.321 GB, free: 5.234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4002, allocations: 77.97 kB / 1.321 GB, free: 5.152 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4004, allocations: 350.8 kB / 1.321 GB, free: 4.801 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.4006, allocations: 104.6 kB / 1.321 GB, free: 4.699 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.4009, allocations: 253.1 kB / 1.321 GB, free: 4.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.4013, allocations: 292.2 kB / 1.322 GB, free: 4.102 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4013, allocations: 0 / 1.322 GB, free: 4.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006045/0.4019, allocations: 357.1 kB / 1.322 GB, free: 3.746 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4019, allocations: 8 kB / 1.322 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4019, allocations: 3.984 kB / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4019, allocations: 7.938 kB / 1.322 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.4022, allocations: 76.12 kB / 1.322 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4022, allocations: 4 kB / 1.322 GB, free: 3.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.4025, allocations: 43.66 kB / 1.322 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.4025, allocations: 19.94 kB / 1.322 GB, free: 3.586 MB / 1.014 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.0002071/0.4027, allocations: 173.8 kB / 1.322 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4028, allocations: 51.67 kB / 1.322 GB, free: 3.355 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000852/0.4037, allocations: 490.6 kB / 1.323 GB, free: 2.871 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.4037, allocations: 7.938 kB / 1.323 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4037, allocations: 0 / 1.323 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006661/0.4044, allocations: 0.5762 MB / 1.323 GB, free: 2.219 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.4062, allocations: 1.002 MB / 1.324 GB, free: 1.148 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4062, allocations: 4 kB / 1.324 GB, free: 1.145 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.4064, allocations: 55.91 kB / 1.324 GB, free: 1.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4064, allocations: 0 / 1.324 GB, free: 1.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.4064, allocations: 12 kB / 1.324 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4064, allocations: 0 / 1.324 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.4065, allocations: 7.984 kB / 1.324 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.4074, allocations: 0.6845 MB / 1.325 GB, free: 360 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.4076, allocations: 107.5 kB / 1.325 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.4077, allocations: 11.98 kB / 1.325 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.4079, allocations: 12 kB / 1.325 GB, free: 228 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.408, allocations: 27.83 kB / 1.325 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.408, allocations: 19.98 kB / 1.325 GB, free: 180 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004613/0.4085, allocations: 342.9 kB / 1.326 GB, free: 15.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4085, allocations: 0 / 1.326 GB, free: 15.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006819/0.4092, allocations: 199.6 kB / 1.326 GB, free: 15.65 MB / 1.029 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.001724/0.4109, allocations: 1.404 MB / 1.327 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.4114, allocations: 279.4 kB / 1.327 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4114, allocations: 0 / 1.327 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.4117, allocations: 163.8 kB / 1.328 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.4132, allocations: 336.4 kB / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.4189, allocations: 4.223 MB / 1.332 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4192, allocations: 270.4 kB / 1.332 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000446/0.4197, allocations: 112.7 kB / 1.332 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.4199, allocations: 187.4 kB / 1.333 GB, free: 8.477 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/0.4199, allocations: 4 kB / 1.333 GB, free: 8.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05742/0.4774, allocations: 18.78 MB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.83, allocations: 6.938 kB / 1.351 GB, free: 6.137 MB / 1.045 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable senHeaFlo.Q_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! Error: Could not read variable heaFloRat.Q_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable heaFloRat.Q_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.70973690506071]