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.00124/0.00124, 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.00155/0.00155, allocations: 210.7 kB / 22.24 MB, free: 4.859 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.98 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.014/3.014, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.001944/0.001944, allocations: 69.77 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02376/0.3301, allocations: 21.64 MB / 1.385 GB, free: 8.359 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00746/0.3375, allocations: 4.742 MB / 1.389 GB, free: 3.605 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006688/0.3382, allocations: 39.69 kB / 1.389 GB, free: 3.566 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000854/0.3391, allocations: 274 kB / 1.389 GB, free: 3.297 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.341, allocations: 0.8358 MB / 1.39 GB, free: 2.457 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.3427, allocations: 0.791 MB / 1.391 GB, free: 1.672 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.3445, allocations: 1.637 MB / 1.393 GB, free: 32 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.345, allocations: 394.1 kB / 1.393 GB, free: 15.64 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.3466, allocations: 0.7394 MB / 1.394 GB, free: 14.9 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.3472, allocations: 441.9 kB / 1.394 GB, free: 14.46 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.3473, allocations: 48 kB / 1.394 GB, free: 14.42 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008577/0.3482, allocations: 415.2 kB / 1.395 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.3483, allocations: 147.4 kB / 1.395 GB, free: 13.87 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.3486, allocations: 254.9 kB / 1.395 GB, free: 13.62 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3498, allocations: 0.9342 MB / 1.396 GB, free: 12.68 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3498, allocations: 0 / 1.396 GB, free: 12.68 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3498, allocations: 4 kB / 1.396 GB, free: 12.68 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.3498, allocations: 0 / 1.396 GB, free: 12.68 MB / 1.092 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.001281/0.3511, allocations: 0.8353 MB / 1.397 GB, free: 11.8 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3511, allocations: 12.03 kB / 1.397 GB, free: 11.79 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.743e-05/0.3512, allocations: 78.72 kB / 1.397 GB, free: 11.71 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.3514, allocations: 68.52 kB / 1.397 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000978/0.3524, allocations: 0.5074 MB / 1.397 GB, free: 11.11 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.3524, allocations: 29 kB / 1.397 GB, free: 11.08 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.3525, allocations: 47.95 kB / 1.397 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.3532, allocations: 0.4979 MB / 1.398 GB, free: 10.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3532, allocations: 7.922 kB / 1.398 GB, free: 10.49 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.3532, allocations: 16 kB / 1.398 GB, free: 10.48 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.3533, allocations: 12 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.3538, allocations: 303.8 kB / 1.398 GB, free: 10.16 MB / 1.092 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.002411/0.3562, allocations: 1.517 MB / 1.4 GB, free: 8.59 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.3567, allocations: 246.7 kB / 1.4 GB, free: 8.34 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3568, allocations: 117.5 kB / 1.4 GB, free: 8.223 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.3573, allocations: 103.9 kB / 1.4 GB, free: 8.121 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3573, allocations: 34.56 kB / 1.4 GB, free: 8.078 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.3573, allocations: 0 / 1.4 GB, free: 8.078 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.00068/0.358, allocations: 380.3 kB / 1.401 GB, free: 7.703 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3581, allocations: 55.41 kB / 1.401 GB, free: 7.637 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.3586, allocations: 482 kB / 1.401 GB, free: 7.156 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.3587, allocations: 33.64 kB / 1.401 GB, free: 7.117 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3589, allocations: 268.3 kB / 1.401 GB, free: 6.852 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.359, allocations: 103.2 kB / 1.401 GB, free: 6.75 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3591, allocations: 70.02 kB / 1.402 GB, free: 6.676 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3592, allocations: 358.8 kB / 1.402 GB, free: 6.316 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3594, allocations: 96.61 kB / 1.402 GB, free: 6.223 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.3597, allocations: 245.2 kB / 1.402 GB, free: 5.941 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3601, allocations: 278.7 kB / 1.402 GB, free: 5.645 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3601, allocations: 8 kB / 1.402 GB, free: 5.637 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005762/0.3607, allocations: 369.5 kB / 1.403 GB, free: 5.27 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3607, allocations: 6.188 kB / 1.403 GB, free: 5.266 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3607, allocations: 4 kB / 1.403 GB, free: 5.262 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.3607, allocations: 7.938 kB / 1.403 GB, free: 5.254 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.361, allocations: 71.91 kB / 1.403 GB, free: 5.184 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.361, allocations: 12.2 kB / 1.403 GB, free: 5.172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.3612, allocations: 35.67 kB / 1.403 GB, free: 5.137 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.3613, allocations: 16 kB / 1.403 GB, free: 5.121 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.0001991/0.3615, allocations: 177.8 kB / 1.403 GB, free: 4.938 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.3616, allocations: 55.67 kB / 1.403 GB, free: 4.883 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/0.3624, allocations: 488.9 kB / 1.404 GB, free: 4.398 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3624, allocations: 7.938 kB / 1.404 GB, free: 4.391 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3624, allocations: 0 / 1.404 GB, free: 4.391 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000622/0.363, allocations: 0.5687 MB / 1.404 GB, free: 3.754 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3647, allocations: 1.01 MB / 1.405 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.3648, allocations: 7.984 kB / 1.405 GB, free: 2.668 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.365, allocations: 51.86 kB / 1.405 GB, free: 2.617 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.365, allocations: 4 kB / 1.405 GB, free: 2.613 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.365, allocations: 11.98 kB / 1.405 GB, free: 2.602 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.365, allocations: 4 kB / 1.405 GB, free: 2.598 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.365, allocations: 4 kB / 1.405 GB, free: 2.594 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.3659, allocations: 0.6835 MB / 1.406 GB, free: 1.875 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.3661, allocations: 103.7 kB / 1.406 GB, free: 1.773 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.3662, allocations: 8 kB / 1.406 GB, free: 1.766 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.3665, allocations: 12 kB / 1.406 GB, free: 1.754 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.3665, allocations: 31.89 kB / 1.406 GB, free: 1.723 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.3666, allocations: 15.98 kB / 1.406 GB, free: 1.707 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004091/0.367, allocations: 342.9 kB / 1.406 GB, free: 1.375 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/0.367, allocations: 7.875 kB / 1.406 GB, free: 1.367 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005929/0.3676, allocations: 203.5 kB / 1.407 GB, free: 1.168 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.001496/0.3691, allocations: 1.382 MB / 1.408 GB, free: 15.74 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.3695, allocations: 291.9 kB / 1.408 GB, free: 15.46 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3695, allocations: 0 / 1.408 GB, free: 15.46 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.3698, allocations: 152.5 kB / 1.408 GB, free: 15.31 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.3712, allocations: 348.1 kB / 1.409 GB, free: 14.97 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.3768, allocations: 4.233 MB / 1.413 GB, free: 10.57 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3771, allocations: 262.4 kB / 1.413 GB, free: 10.29 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004832/0.3775, allocations: 120.6 kB / 1.413 GB, free: 10.17 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.3778, allocations: 195.3 kB / 1.413 GB, free: 9.977 MB / 1.107 GB Notification: Performance of SimCode: time 8.11e-07/0.3778, allocations: 0 / 1.413 GB, free: 9.977 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0485/0.4263, allocations: 18.78 MB / 1.432 GB, free: 7.633 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.2, allocations: 9.719 kB / 1.432 GB, free: 7.625 MB / 1.123 GB " [Timeout remaining time 289] (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: 17.503496072720736]