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.001265/0.001265, allocations: 105.6 kB / 16.45 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.001404/0.001404, 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.826/2.826, allocations: 476.7 MB / 0.7672 GB, free: 5.246 MB / 0.6231 GB " [Timeout remaining time 177] 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.002041/0.002041, allocations: 71.91 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9318, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.03054/0.9624, allocations: 23.56 MB / 1.301 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008763/0.9711, allocations: 5.078 MB / 1.306 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009358/0.9721, allocations: 35.69 kB / 1.306 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009059/0.973, allocations: 302 kB / 1.307 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.9752, allocations: 0.8241 MB / 1.307 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.9773, allocations: 0.7705 MB / 1.308 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002547/0.9798, allocations: 1.613 MB / 1.31 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.9806, allocations: 413.6 kB / 1.31 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.9825, allocations: 0.6462 MB / 1.311 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007708/0.9833, allocations: 485.9 kB / 1.311 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.9834, allocations: 47.94 kB / 1.311 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.9847, allocations: 0.5147 MB / 1.312 GB, free: 11.03 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.9849, allocations: 143.4 kB / 1.312 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.9853, allocations: 314.5 kB / 1.312 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.9872, allocations: 0.9478 MB / 1.313 GB, free: 9.629 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.9872, allocations: 0 / 1.313 GB, free: 9.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9872, allocations: 0 / 1.313 GB, free: 9.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.9873, allocations: 0 / 1.313 GB, free: 9.629 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.001675/0.9889, allocations: 0.8991 MB / 1.314 GB, free: 8.676 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.989, allocations: 8.031 kB / 1.314 GB, free: 8.668 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.9891, allocations: 78.7 kB / 1.314 GB, free: 8.582 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.9894, allocations: 72.52 kB / 1.314 GB, free: 8.512 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.9909, allocations: 0.5924 MB / 1.315 GB, free: 7.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.9909, allocations: 29 kB / 1.315 GB, free: 7.852 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.991, allocations: 40 kB / 1.315 GB, free: 7.812 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.9922, allocations: 436.7 kB / 1.315 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.9922, allocations: 0 / 1.315 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/0.9923, allocations: 16 kB / 1.315 GB, free: 7.352 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.9923, allocations: 12 kB / 1.315 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.9932, allocations: 303.8 kB / 1.316 GB, free: 7.043 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.004758/0.9979, allocations: 1.919 MB / 1.317 GB, free: 4.996 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.9988, allocations: 238.8 kB / 1.318 GB, free: 4.754 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.9992, allocations: 112.8 kB / 1.318 GB, free: 4.641 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/1.001, allocations: 0.8545 MB / 1.319 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/1.001, allocations: 42.55 kB / 1.319 GB, free: 3.551 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 3.246e-06/1.001, allocations: 0 / 1.319 GB, free: 3.551 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.001254/1.002, allocations: 370.9 kB / 1.319 GB, free: 3.184 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/1.002, allocations: 63.33 kB / 1.319 GB, free: 3.109 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.003, allocations: 478 kB / 1.319 GB, free: 2.633 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/1.003, allocations: 29.7 kB / 1.319 GB, free: 2.598 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/1.004, allocations: 268.3 kB / 1.32 GB, free: 2.332 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/1.004, allocations: 99.16 kB / 1.32 GB, free: 2.234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/1.004, allocations: 70.02 kB / 1.32 GB, free: 2.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0005022/1.004, allocations: 358.8 kB / 1.32 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/1.005, allocations: 96.61 kB / 1.32 GB, free: 1.707 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/1.005, allocations: 180 kB / 1.321 GB, free: 1.508 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009078/1.006, allocations: 282.7 kB / 1.321 GB, free: 1.207 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.006, allocations: 3.938 kB / 1.321 GB, free: 1.203 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001115/1.007, allocations: 361.1 kB / 1.321 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.007, allocations: 8 kB / 1.321 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.007, allocations: 0 / 1.321 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/1.007, allocations: 7.938 kB / 1.321 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/1.008, allocations: 72.12 kB / 1.321 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/1.008, allocations: 7.938 kB / 1.321 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/1.009, allocations: 43.72 kB / 1.321 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/1.009, allocations: 8 kB / 1.321 GB, free: 0.6992 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.0004489/1.009, allocations: 186 kB / 1.321 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/1.009, allocations: 55.66 kB / 1.322 GB, free: 464 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/1.011, allocations: 477.6 kB / 1.322 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/1.011, allocations: 11.94 kB / 1.322 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.011, allocations: 0 / 1.322 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/1.012, allocations: 0.5645 MB / 1.323 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/1.016, allocations: 1.152 MB / 1.324 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.016, allocations: 3.938 kB / 1.324 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/1.016, allocations: 47.97 kB / 1.324 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/1.016, allocations: 8.188 kB / 1.324 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/1.016, allocations: 11.98 kB / 1.324 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/1.016, allocations: 7.938 kB / 1.324 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.016, allocations: 0 / 1.324 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/1.018, allocations: 0.6757 MB / 1.324 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/1.018, allocations: 176.6 kB / 1.325 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.018, allocations: 8 kB / 1.325 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/1.019, allocations: 15.92 kB / 1.325 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/1.019, allocations: 23.92 kB / 1.325 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/1.019, allocations: 19.98 kB / 1.325 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005097/1.019, allocations: 350.8 kB / 1.325 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/1.019, allocations: 0 / 1.325 GB, free: 12.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009963/1.02, allocations: 203.5 kB / 1.325 GB, free: 12.5 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.002949/1.023, allocations: 1.373 MB / 1.326 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008776/1.024, allocations: 284.9 kB / 1.327 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.024, allocations: 0 / 1.327 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/1.024, allocations: 155 kB / 1.327 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.027, allocations: 344.8 kB / 1.327 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.038, allocations: 4.222 MB / 1.331 GB, free: 5.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009267/1.039, allocations: 0.8666 MB / 1.332 GB, free: 5.051 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000746/1.039, allocations: 116.7 kB / 1.332 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/1.04, allocations: 191.4 kB / 1.333 GB, free: 4.746 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/1.04, allocations: 3.938 kB / 1.333 GB, free: 4.742 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07746/1.117, allocations: 16.98 MB / 1.349 GB, free: 4.027 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.264/10.38, allocations: 13.02 kB / 1.349 GB, free: 4.016 MB / 1.045 GB " [Timeout remaining time 290] (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: 16.587435387074947]