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.001761/0.001761, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002198/0.002198, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.417/1.417, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.217/3.217, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 176] 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.002211/0.002211, allocations: 69.58 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3442, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.201/0.5453, allocations: 170.8 MB / 1.515 GB, free: 14.48 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.003204/0.5485, allocations: 1.566 MB / 1.516 GB, free: 12.91 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.5488, allocations: 15.88 kB / 1.516 GB, free: 12.9 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.5494, allocations: 154.8 kB / 1.516 GB, free: 12.75 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.5511, allocations: 0.7274 MB / 1.517 GB, free: 12.02 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.5528, allocations: 0.6016 MB / 1.518 GB, free: 11.41 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.5536, allocations: 0.7012 MB / 1.518 GB, free: 10.71 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.554, allocations: 204.8 kB / 1.518 GB, free: 10.5 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.555, allocations: 0.4905 MB / 1.519 GB, free: 10.01 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.5553, allocations: 231 kB / 1.519 GB, free: 9.785 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.5554, allocations: 24 kB / 1.519 GB, free: 9.762 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.557, allocations: 0.9118 MB / 1.52 GB, free: 8.848 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.5571, allocations: 111.6 kB / 1.52 GB, free: 8.738 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.5573, allocations: 167.2 kB / 1.52 GB, free: 8.574 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.5584, allocations: 0.7125 MB / 1.521 GB, free: 7.859 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5584, allocations: 8 kB / 1.521 GB, free: 7.852 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5584, allocations: 0 / 1.521 GB, free: 7.852 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.5584, allocations: 0 / 1.521 GB, free: 7.852 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.001104/0.5595, allocations: 0.6575 MB / 1.522 GB, free: 7.145 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5596, allocations: 19.98 kB / 1.522 GB, free: 7.125 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.02e-05/0.5597, allocations: 50.55 kB / 1.522 GB, free: 7.066 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.5609, allocations: 163.6 kB / 1.522 GB, free: 6.906 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.5615, allocations: 321.9 kB / 1.522 GB, free: 6.551 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.5615, allocations: 16.44 kB / 1.522 GB, free: 6.535 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.5615, allocations: 27.95 kB / 1.522 GB, free: 6.508 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.5621, allocations: 275.5 kB / 1.523 GB, free: 6.215 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5621, allocations: 0 / 1.523 GB, free: 6.215 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.5621, allocations: 8 kB / 1.523 GB, free: 6.207 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.5621, allocations: 8 kB / 1.523 GB, free: 6.199 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.5626, allocations: 203.7 kB / 1.523 GB, free: 6 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.5642, allocations: 1.209 MB / 1.524 GB, free: 4.688 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.5645, allocations: 130.5 kB / 1.524 GB, free: 4.551 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.5647, allocations: 92.73 kB / 1.524 GB, free: 4.457 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/0.5653, allocations: 299.2 kB / 1.524 GB, free: 4.109 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.5653, allocations: 34.56 kB / 1.524 GB, free: 4.066 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.5653, allocations: 0 / 1.524 GB, free: 4.066 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0008285/0.5662, allocations: 283.1 kB / 1.525 GB, free: 3.785 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5662, allocations: 55.41 kB / 1.525 GB, free: 3.719 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.5666, allocations: 312.5 kB / 1.525 GB, free: 3.402 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.5666, allocations: 29.7 kB / 1.525 GB, free: 3.367 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5668, allocations: 188.3 kB / 1.525 GB, free: 3.18 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.5669, allocations: 55.53 kB / 1.525 GB, free: 3.125 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.567, allocations: 45.66 kB / 1.525 GB, free: 3.074 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5671, allocations: 338.8 kB / 1.526 GB, free: 2.734 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.5673, allocations: 75.88 kB / 1.526 GB, free: 2.66 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.5676, allocations: 127.8 kB / 1.526 GB, free: 2.52 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.5679, allocations: 189 kB / 1.526 GB, free: 2.316 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5679, allocations: 0 / 1.526 GB, free: 2.316 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000517/0.5685, allocations: 239.2 kB / 1.526 GB, free: 2.078 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.5685, allocations: 7.984 kB / 1.526 GB, free: 2.07 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5685, allocations: 4 kB / 1.526 GB, free: 2.066 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5685, allocations: 0 / 1.526 GB, free: 2.066 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.5687, allocations: 43.92 kB / 1.526 GB, free: 2.023 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.5687, allocations: 4 kB / 1.526 GB, free: 2.02 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.5689, allocations: 35.77 kB / 1.526 GB, free: 1.984 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.569, allocations: 8.094 kB / 1.526 GB, free: 1.977 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.0001537/0.5691, allocations: 157.7 kB / 1.527 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.5692, allocations: 27.95 kB / 1.527 GB, free: 1.785 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.5697, allocations: 220.4 kB / 1.527 GB, free: 1.562 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5697, allocations: 0 / 1.527 GB, free: 1.562 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5697, allocations: 0 / 1.527 GB, free: 1.562 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5697, allocations: 0 / 1.527 GB, free: 1.562 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.5709, allocations: 0.6875 MB / 1.527 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5709, allocations: 4.031 kB / 1.527 GB, free: 0.793 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.571, allocations: 27.98 kB / 1.527 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.571, allocations: 7.938 kB / 1.527 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.5711, allocations: 15.92 kB / 1.528 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.5711, allocations: 3.938 kB / 1.528 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5711, allocations: 4 kB / 1.528 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.5718, allocations: 431.8 kB / 1.528 GB, free: 284 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.5719, allocations: 132.8 kB / 1.528 GB, free: 132 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.572, allocations: 4 kB / 1.528 GB, free: 128 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.5722, allocations: 19.92 kB / 1.528 GB, free: 108 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.5722, allocations: 15.98 kB / 1.528 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.5722, allocations: 8 kB / 1.528 GB, free: 84 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002579/0.5725, allocations: 223 kB / 1.528 GB, free: 15.87 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5725, allocations: 4 kB / 1.528 GB, free: 15.86 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004055/0.5729, allocations: 71.94 kB / 1.528 GB, free: 15.79 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.001261/0.5742, allocations: 1.019 MB / 1.529 GB, free: 14.72 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.5746, allocations: 171.9 kB / 1.53 GB, free: 14.55 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5746, allocations: 0 / 1.53 GB, free: 14.55 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.5748, allocations: 83.88 kB / 1.53 GB, free: 14.47 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.5758, allocations: 167.3 kB / 1.53 GB, free: 14.31 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.5798, allocations: 2.903 MB / 1.533 GB, free: 11.27 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.5803, allocations: 0.7795 MB / 1.533 GB, free: 10.46 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002237/0.5805, allocations: 66.92 kB / 1.533 GB, free: 10.39 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.5807, allocations: 87.42 kB / 1.534 GB, free: 10.31 MB / 1.232 GB Notification: Performance of SimCode: time 6.82e-07/0.5807, allocations: 0 / 1.534 GB, free: 10.31 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.6188, allocations: 8.825 MB / 1.542 GB, free: 1.66 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/9.046, allocations: 13.56 kB / 1.542 GB, free: 1.648 MB / 1.232 GB " [Timeout remaining time 291] (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: 15.64809247595258]