Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001306/0.001306, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001522/0.001522, allocations: 216.1 kB / 22.25 MB, free: 4.852 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.797 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 2.97/2.97, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_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.001943/0.001943, allocations: 73.08 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 176.1 MB / 1.325 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02943/0.3456, allocations: 21.65 MB / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009404/0.355, allocations: 4.739 MB / 1.351 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009037/0.3559, allocations: 39.69 kB / 1.351 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.3573, allocations: 278.1 kB / 1.351 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.3601, allocations: 0.8397 MB / 1.352 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.3622, allocations: 0.7723 MB / 1.353 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002285/0.3645, allocations: 1.637 MB / 1.354 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006282/0.3651, allocations: 398.1 kB / 1.355 GB, free: 3.902 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.3669, allocations: 0.7377 MB / 1.355 GB, free: 3.164 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.3675, allocations: 445.9 kB / 1.356 GB, free: 2.727 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.3676, allocations: 48 kB / 1.356 GB, free: 2.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008996/0.3685, allocations: 415.2 kB / 1.356 GB, free: 2.273 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3686, allocations: 147.4 kB / 1.356 GB, free: 2.129 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.3689, allocations: 258.9 kB / 1.357 GB, free: 1.875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.3703, allocations: 0.9303 MB / 1.358 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3703, allocations: 0 / 1.358 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3703, allocations: 3.938 kB / 1.358 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3703, allocations: 0 / 1.358 GB, free: 0.9375 MB / 1.045 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.001381/0.3717, allocations: 0.8314 MB / 1.358 GB, free: 72 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3718, allocations: 12.03 kB / 1.358 GB, free: 60 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.3719, allocations: 78.8 kB / 1.358 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.3721, allocations: 64.56 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3732, allocations: 0.519 MB / 1.359 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.3732, allocations: 29 kB / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.3733, allocations: 40 kB / 1.359 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.374, allocations: 0.5095 MB / 1.36 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.374, allocations: 4 kB / 1.36 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.3741, allocations: 12 kB / 1.36 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.3741, allocations: 12 kB / 1.36 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.3747, allocations: 303.8 kB / 1.36 GB, free: 14.43 MB / 1.061 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.002584/0.3772, allocations: 1.524 MB / 1.361 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.3778, allocations: 238.8 kB / 1.362 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.378, allocations: 116.7 kB / 1.362 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004886/0.3785, allocations: 103.9 kB / 1.362 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3785, allocations: 38.56 kB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.3785, allocations: 0 / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.000697/0.3792, allocations: 369.1 kB / 1.362 GB, free: 11.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3792, allocations: 55.41 kB / 1.362 GB, free: 11.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.3798, allocations: 486 kB / 1.363 GB, free: 11.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3798, allocations: 29.7 kB / 1.363 GB, free: 11.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3801, allocations: 260.4 kB / 1.363 GB, free: 11.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/0.3801, allocations: 103.2 kB / 1.363 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3802, allocations: 73.97 kB / 1.363 GB, free: 10.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3804, allocations: 354.8 kB / 1.364 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.3806, allocations: 104.5 kB / 1.364 GB, free: 10.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.3809, allocations: 249.2 kB / 1.364 GB, free: 10.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.3813, allocations: 282.7 kB / 1.364 GB, free: 9.902 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3813, allocations: 0 / 1.364 GB, free: 9.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005908/0.3819, allocations: 373.1 kB / 1.365 GB, free: 9.531 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3819, allocations: 8 kB / 1.365 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3819, allocations: 0 / 1.365 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3819, allocations: 11.97 kB / 1.365 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.3822, allocations: 72.12 kB / 1.365 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3822, allocations: 15.88 kB / 1.365 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.3825, allocations: 43.66 kB / 1.365 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.3825, allocations: 12 kB / 1.365 GB, free: 9.371 MB / 1.061 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.0002205/0.3827, allocations: 183.1 kB / 1.365 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.3828, allocations: 51.67 kB / 1.365 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008118/0.3836, allocations: 477.6 kB / 1.365 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.3837, allocations: 7.938 kB / 1.365 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3837, allocations: 0 / 1.365 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006225/0.3843, allocations: 0.5725 MB / 1.366 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.3861, allocations: 1.013 MB / 1.367 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3861, allocations: 4 kB / 1.367 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3864, allocations: 51.97 kB / 1.367 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3864, allocations: 0 / 1.367 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.3864, allocations: 15.98 kB / 1.367 GB, free: 6.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.3864, allocations: 3.938 kB / 1.367 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3864, allocations: 4 kB / 1.367 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.3873, allocations: 0.6832 MB / 1.368 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.3875, allocations: 107.7 kB / 1.368 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.3876, allocations: 12 kB / 1.368 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.3879, allocations: 12 kB / 1.368 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3879, allocations: 23.89 kB / 1.368 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.388, allocations: 23.98 kB / 1.368 GB, free: 5.957 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004189/0.3884, allocations: 342.9 kB / 1.368 GB, free: 5.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3884, allocations: 0 / 1.368 GB, free: 5.625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006432/0.389, allocations: 199.6 kB / 1.368 GB, free: 5.43 MB / 1.061 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.001662/0.3907, allocations: 1.397 MB / 1.37 GB, free: 3.988 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.3912, allocations: 283.7 kB / 1.37 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3912, allocations: 0 / 1.37 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.3914, allocations: 158.7 kB / 1.37 GB, free: 3.559 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.3929, allocations: 339.5 kB / 1.37 GB, free: 3.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/0.3985, allocations: 4.233 MB / 1.375 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.3988, allocations: 270.4 kB / 1.375 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003823/0.3992, allocations: 120.7 kB / 1.375 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.3994, allocations: 183.4 kB / 1.375 GB, free: 14.23 MB / 1.076 GB Notification: Performance of SimCode: time 8.71e-07/0.3994, allocations: 4 kB / 1.375 GB, free: 14.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/0.4532, allocations: 18.78 MB / 1.393 GB, free: 11.88 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.64, allocations: 5.047 kB / 1.393 GB, free: 11.88 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable senHeaFlo.Q_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! Error: Could not read variable heaFloRat.Q_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable heaFloRat.Q_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.93497479101643]