Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001422/0.001422, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001629/0.001629, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 179] 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 2.887/2.887, allocations: 0.505 GB / 0.8101 GB, free: 22 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.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.0019/0.0019, allocations: 70.84 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.308, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1831/0.4911, allocations: 171 MB / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.002592/0.4937, allocations: 1.574 MB / 1.521 GB, free: 11.2 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.4939, allocations: 15.81 kB / 1.521 GB, free: 11.18 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.4943, allocations: 150.9 kB / 1.522 GB, free: 11.04 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.4959, allocations: 0.7352 MB / 1.522 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.4974, allocations: 0.6374 MB / 1.523 GB, free: 9.66 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008732/0.4983, allocations: 0.7051 MB / 1.524 GB, free: 8.953 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.4986, allocations: 189 kB / 1.524 GB, free: 8.766 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009429/0.4995, allocations: 0.4983 MB / 1.524 GB, free: 8.266 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.4998, allocations: 235 kB / 1.524 GB, free: 8.035 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.4999, allocations: 20 kB / 1.525 GB, free: 8.016 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.5013, allocations: 0.9352 MB / 1.525 GB, free: 7.078 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.5015, allocations: 111.7 kB / 1.526 GB, free: 6.969 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.5017, allocations: 163.2 kB / 1.526 GB, free: 6.809 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.5027, allocations: 0.7242 MB / 1.526 GB, free: 6.082 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5027, allocations: 4 kB / 1.526 GB, free: 6.078 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5027, allocations: 0 / 1.526 GB, free: 6.078 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.5027, allocations: 0 / 1.526 GB, free: 6.078 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009557/0.5036, allocations: 0.5823 MB / 1.527 GB, free: 5.465 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.5037, allocations: 12.03 kB / 1.527 GB, free: 5.453 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.5037, allocations: 54.55 kB / 1.527 GB, free: 5.391 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.5048, allocations: 159.5 kB / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.5053, allocations: 264 kB / 1.527 GB, free: 4.949 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.5053, allocations: 12.44 kB / 1.527 GB, free: 4.938 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.5053, allocations: 27.95 kB / 1.527 GB, free: 4.91 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.5058, allocations: 279.4 kB / 1.528 GB, free: 4.613 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5058, allocations: 0 / 1.528 GB, free: 4.613 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.5058, allocations: 12 kB / 1.528 GB, free: 4.602 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.5058, allocations: 4 kB / 1.528 GB, free: 4.598 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.5062, allocations: 199.8 kB / 1.528 GB, free: 4.402 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.5077, allocations: 1.167 MB / 1.529 GB, free: 3.141 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.5079, allocations: 134.4 kB / 1.529 GB, free: 3 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.5081, allocations: 92.8 kB / 1.529 GB, free: 2.906 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/0.5086, allocations: 76.14 kB / 1.529 GB, free: 2.832 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5086, allocations: 42.55 kB / 1.529 GB, free: 2.781 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.5086, allocations: 4 kB / 1.529 GB, free: 2.777 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0007105/0.5093, allocations: 274.9 kB / 1.53 GB, free: 2.504 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5094, allocations: 59.33 kB / 1.53 GB, free: 2.434 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.5097, allocations: 312.5 kB / 1.53 GB, free: 2.121 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.5097, allocations: 29.7 kB / 1.53 GB, free: 2.086 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.5098, allocations: 184.3 kB / 1.53 GB, free: 1.898 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.5099, allocations: 55.53 kB / 1.53 GB, free: 1.844 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.51, allocations: 45.66 kB / 1.53 GB, free: 1.793 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5101, allocations: 342.8 kB / 1.531 GB, free: 1.449 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.5103, allocations: 63.95 kB / 1.531 GB, free: 1.387 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.5105, allocations: 130.7 kB / 1.531 GB, free: 1.242 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.5108, allocations: 181 kB / 1.531 GB, free: 1.047 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5108, allocations: 0 / 1.531 GB, free: 1.047 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004367/0.5113, allocations: 247.9 kB / 1.531 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5113, allocations: 5.406 kB / 1.531 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5113, allocations: 4 kB / 1.531 GB, free: 0.793 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5113, allocations: 144 / 1.531 GB, free: 0.793 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.5115, allocations: 43.92 kB / 1.531 GB, free: 0.75 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5115, allocations: 3.984 kB / 1.531 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.5117, allocations: 39.75 kB / 1.531 GB, free: 0.707 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.5117, allocations: 12.09 kB / 1.531 GB, free: 0.6953 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001417/0.5118, allocations: 157.6 kB / 1.532 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.5119, allocations: 31.81 kB / 1.532 GB, free: 0.5 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.5123, allocations: 220.2 kB / 1.532 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5123, allocations: 0 / 1.532 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5123, allocations: 0 / 1.532 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5123, allocations: 0 / 1.532 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.5133, allocations: 0.6671 MB / 1.532 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5134, allocations: 3.938 kB / 1.532 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.5135, allocations: 35.92 kB / 1.532 GB, free: 15.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.5135, allocations: 3.938 kB / 1.532 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.5135, allocations: 4 kB / 1.532 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5135, allocations: 11.94 kB / 1.532 GB, free: 15.48 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5135, allocations: 3.984 kB / 1.532 GB, free: 15.47 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.5141, allocations: 427.6 kB / 1.533 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/0.5142, allocations: 59.75 kB / 1.533 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.5143, allocations: 8 kB / 1.533 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.5144, allocations: 4 kB / 1.533 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.5145, allocations: 15.97 kB / 1.533 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5145, allocations: 8 kB / 1.533 GB, free: 14.93 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002135/0.5147, allocations: 227 kB / 1.533 GB, free: 14.71 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5147, allocations: 0 / 1.533 GB, free: 14.71 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003568/0.5151, allocations: 75.94 kB / 1.533 GB, free: 14.63 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.001034/0.5161, allocations: 1.011 MB / 1.534 GB, free: 13.57 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.5165, allocations: 174.1 kB / 1.534 GB, free: 13.4 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5165, allocations: 0 / 1.534 GB, free: 13.4 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.5167, allocations: 83.83 kB / 1.534 GB, free: 13.32 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/0.5174, allocations: 169.6 kB / 1.535 GB, free: 13.16 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.521, allocations: 2.901 MB / 1.537 GB, free: 10.11 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.5215, allocations: 0.7756 MB / 1.538 GB, free: 9.301 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001952/0.5216, allocations: 62.92 kB / 1.538 GB, free: 9.238 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5218, allocations: 91.41 kB / 1.538 GB, free: 9.148 MB / 1.232 GB Notification: Performance of SimCode: time 4.21e-07/0.5218, allocations: 0 / 1.538 GB, free: 9.148 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/0.5602, allocations: 9.055 MB / 1.547 GB, free: 316 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.868/10.43, allocations: 7.281 kB / 1.547 GB, free: 312 kB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senDyn.port_a.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senDyn.V_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.V_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senSteSta.V_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senSteSta.V_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.462426187000347]