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.001186/0.001186, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001318/0.001318, allocations: 216.8 kB / 22.25 MB, free: 5.082 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.304/1.304, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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.885/2.885, allocations: 0.49 GB / 0.7951 GB, free: 33.31 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.001856/0.001856, allocations: 70.73 kB / 1.154 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2869, allocations: 176.1 MB / 1.326 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02469/0.3116, allocations: 23.81 MB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007388/0.319, allocations: 5.123 MB / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.3196, allocations: 35.69 kB / 1.354 GB, free: 4.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.3204, allocations: 290 kB / 1.354 GB, free: 4.707 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.3222, allocations: 0.8397 MB / 1.355 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.324, allocations: 0.8049 MB / 1.356 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.3259, allocations: 1.652 MB / 1.358 GB, free: 1.406 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000553/0.3264, allocations: 406 kB / 1.358 GB, free: 1 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.328, allocations: 0.7472 MB / 1.359 GB, free: 260 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.3286, allocations: 466 kB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.3287, allocations: 48 kB / 1.359 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009678/0.3296, allocations: 0.5225 MB / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.3298, allocations: 143.4 kB / 1.36 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.3301, allocations: 314.5 kB / 1.36 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.3313, allocations: 0.9498 MB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3313, allocations: 0 / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3313, allocations: 0 / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.3313, allocations: 0 / 1.361 GB, free: 13.82 MB / 1.061 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.001302/0.3326, allocations: 0.8392 MB / 1.362 GB, free: 12.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3327, allocations: 8.031 kB / 1.362 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.844e-05/0.3328, allocations: 82.7 kB / 1.362 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.333, allocations: 64.56 kB / 1.362 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.334, allocations: 0.5191 MB / 1.363 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.3341, allocations: 32.94 kB / 1.363 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.3341, allocations: 36 kB / 1.363 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.3348, allocations: 432.7 kB / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3348, allocations: 3.938 kB / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.3349, allocations: 16 kB / 1.363 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.3349, allocations: 16 kB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.3354, allocations: 303.8 kB / 1.363 GB, free: 11.4 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.002553/0.3379, allocations: 1.769 MB / 1.365 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.3384, allocations: 250.8 kB / 1.365 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3386, allocations: 112.8 kB / 1.366 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004938/0.3391, allocations: 107.9 kB / 1.366 GB, free: 9.066 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3391, allocations: 42.56 kB / 1.366 GB, free: 9.016 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.3391, allocations: 0 / 1.366 GB, free: 9.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.0006707/0.3398, allocations: 379.9 kB / 1.366 GB, free: 8.641 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3399, allocations: 55.41 kB / 1.366 GB, free: 8.574 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.3404, allocations: 474 kB / 1.367 GB, free: 8.102 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3404, allocations: 33.7 kB / 1.367 GB, free: 8.062 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.3406, allocations: 260.4 kB / 1.367 GB, free: 7.805 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.3407, allocations: 107.1 kB / 1.367 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3408, allocations: 73.95 kB / 1.367 GB, free: 7.621 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.341, allocations: 358.8 kB / 1.367 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3411, allocations: 92.61 kB / 1.367 GB, free: 7.172 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.3414, allocations: 168.1 kB / 1.368 GB, free: 6.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.3418, allocations: 278.7 kB / 1.368 GB, free: 6.688 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3418, allocations: 0 / 1.368 GB, free: 6.688 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005728/0.3423, allocations: 381 kB / 1.368 GB, free: 6.309 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3424, allocations: 4 kB / 1.368 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3424, allocations: 4 kB / 1.368 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3424, allocations: 11.97 kB / 1.368 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.3427, allocations: 75.89 kB / 1.368 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3427, allocations: 4 kB / 1.368 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3429, allocations: 31.95 kB / 1.368 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.3429, allocations: 20 kB / 1.368 GB, free: 6.16 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.000197/0.3431, allocations: 182.3 kB / 1.369 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.3432, allocations: 51.67 kB / 1.369 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007983/0.344, allocations: 493.5 kB / 1.369 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.344, allocations: 7.938 kB / 1.369 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.344, allocations: 0 / 1.369 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005984/0.3446, allocations: 0.5726 MB / 1.37 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.3464, allocations: 1.064 MB / 1.371 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3464, allocations: 0 / 1.371 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3466, allocations: 55.91 kB / 1.371 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3466, allocations: 4 kB / 1.371 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3466, allocations: 11.98 kB / 1.371 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3466, allocations: 7.938 kB / 1.371 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3466, allocations: 192 / 1.371 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.3475, allocations: 0.6948 MB / 1.371 GB, free: 2.844 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.3477, allocations: 99.58 kB / 1.372 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.254e-05/0.3477, allocations: 8 kB / 1.372 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.348, allocations: 8 kB / 1.372 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.348, allocations: 31.89 kB / 1.372 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.3481, allocations: 11.98 kB / 1.372 GB, free: 2.688 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003948/0.3485, allocations: 350.8 kB / 1.372 GB, free: 2.348 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3485, allocations: 0 / 1.372 GB, free: 2.348 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005898/0.3491, allocations: 203.5 kB / 1.372 GB, free: 2.148 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.001487/0.3505, allocations: 1.39 MB / 1.373 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005229/0.3511, allocations: 287.7 kB / 1.374 GB, free: 444 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3511, allocations: 3.984 kB / 1.374 GB, free: 440 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.3513, allocations: 152.2 kB / 1.374 GB, free: 288 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.3527, allocations: 345.3 kB / 1.374 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.3579, allocations: 4.226 MB / 1.378 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.3584, allocations: 0.8666 MB / 1.379 GB, free: 10.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003398/0.3587, allocations: 128.6 kB / 1.379 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.3589, allocations: 187.3 kB / 1.379 GB, free: 10.34 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.3589, allocations: 0 / 1.379 GB, free: 10.34 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.4073, allocations: 17.37 MB / 1.396 GB, free: 9.297 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.1, allocations: 8.391 kB / 1.396 GB, free: 9.293 MB / 1.092 GB " [Timeout remaining time 289] (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.063874405001116]