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.001219/0.001219, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001879/0.001879, allocations: 214.6 kB / 22.25 MB, free: 5.258 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 7.73 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 2.988/2.988, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.001933/0.001933, allocations: 68.27 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1822/0.5007, allocations: 147.6 MB / 1.508 GB, free: 9.82 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.002751/0.5035, allocations: 1.492 MB / 1.509 GB, free: 8.324 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.5037, allocations: 11.88 kB / 1.509 GB, free: 8.312 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.5042, allocations: 150.9 kB / 1.509 GB, free: 8.164 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.5058, allocations: 0.704 MB / 1.51 GB, free: 7.457 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.5072, allocations: 0.614 MB / 1.51 GB, free: 6.844 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007723/0.508, allocations: 0.7051 MB / 1.511 GB, free: 6.137 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.5083, allocations: 189.3 kB / 1.511 GB, free: 5.949 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.5092, allocations: 0.4983 MB / 1.512 GB, free: 5.449 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.5095, allocations: 223 kB / 1.512 GB, free: 5.23 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.5095, allocations: 20 kB / 1.512 GB, free: 5.211 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.5106, allocations: 0.7089 MB / 1.513 GB, free: 4.5 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.5107, allocations: 107.7 kB / 1.513 GB, free: 4.395 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.5109, allocations: 143.4 kB / 1.513 GB, free: 4.254 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.5118, allocations: 0.6852 MB / 1.514 GB, free: 3.566 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.5118, allocations: 3.984 kB / 1.514 GB, free: 3.562 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5118, allocations: 0 / 1.514 GB, free: 3.562 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.5118, allocations: 3.938 kB / 1.514 GB, free: 3.559 MB / 1.201 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.0008656/0.5127, allocations: 0.5823 MB / 1.514 GB, free: 2.945 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5127, allocations: 12.03 kB / 1.514 GB, free: 2.934 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.264e-05/0.5128, allocations: 50.55 kB / 1.514 GB, free: 2.875 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5138, allocations: 159.6 kB / 1.514 GB, free: 2.719 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.5143, allocations: 260 kB / 1.515 GB, free: 2.438 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5143, allocations: 20.38 kB / 1.515 GB, free: 2.418 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.5143, allocations: 20 kB / 1.515 GB, free: 2.398 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.5148, allocations: 283.4 kB / 1.515 GB, free: 2.102 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5148, allocations: 3.938 kB / 1.515 GB, free: 2.098 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.5148, allocations: 4 kB / 1.515 GB, free: 2.094 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5148, allocations: 8 kB / 1.515 GB, free: 2.086 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.5152, allocations: 203.8 kB / 1.515 GB, free: 1.887 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.5166, allocations: 0.9735 MB / 1.516 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.5168, allocations: 134.4 kB / 1.516 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.517, allocations: 87.34 kB / 1.516 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004373/0.5174, allocations: 76.12 kB / 1.516 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.5175, allocations: 38.56 kB / 1.516 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.5175, allocations: 0 / 1.516 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0007316/0.5182, allocations: 281.3 kB / 1.517 GB, free: 232 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.5182, allocations: 55.34 kB / 1.517 GB, free: 164 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.5186, allocations: 320.5 kB / 1.517 GB, free: 15.84 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.5186, allocations: 29.7 kB / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5188, allocations: 188.2 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.5188, allocations: 51.58 kB / 1.517 GB, free: 15.57 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.5189, allocations: 45.7 kB / 1.517 GB, free: 15.52 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5191, allocations: 334.8 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.5192, allocations: 67.95 kB / 1.518 GB, free: 15.11 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.5195, allocations: 206.1 kB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.5198, allocations: 191.6 kB / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5198, allocations: 0 / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004639/0.5203, allocations: 245.3 kB / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5203, allocations: 6.656 kB / 1.518 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5203, allocations: 4 kB / 1.518 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5203, allocations: 0 / 1.518 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.5205, allocations: 44.05 kB / 1.518 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5205, allocations: 4 kB / 1.518 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.5207, allocations: 35.77 kB / 1.519 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.5207, allocations: 12.08 kB / 1.519 GB, free: 14.32 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.0001454/0.5209, allocations: 154.4 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.5209, allocations: 31.81 kB / 1.519 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.5214, allocations: 220.2 kB / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5214, allocations: 0 / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5214, allocations: 0 / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5214, allocations: 3.938 kB / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.5225, allocations: 0.6397 MB / 1.52 GB, free: 13.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5225, allocations: 4 kB / 1.52 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.5226, allocations: 31.92 kB / 1.52 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5226, allocations: 11.88 kB / 1.52 GB, free: 13.15 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5226, allocations: 4 kB / 1.52 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5226, allocations: 4.219 kB / 1.52 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5226, allocations: 8 kB / 1.52 GB, free: 13.13 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.5233, allocations: 431.6 kB / 1.52 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5234, allocations: 51.75 kB / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.5235, allocations: 8 kB / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.5236, allocations: 8 kB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.5237, allocations: 19.95 kB / 1.52 GB, free: 12.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5237, allocations: 8.062 kB / 1.52 GB, free: 12.58 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000231/0.5239, allocations: 227 kB / 1.52 GB, free: 12.36 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5239, allocations: 0 / 1.52 GB, free: 12.36 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003663/0.5243, allocations: 83.89 kB / 1.52 GB, free: 12.28 MB / 1.217 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.00112/0.5254, allocations: 1.007 MB / 1.521 GB, free: 11.22 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.5258, allocations: 171.8 kB / 1.522 GB, free: 11.05 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5258, allocations: 0 / 1.522 GB, free: 11.05 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.526, allocations: 83.83 kB / 1.522 GB, free: 10.97 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.5269, allocations: 167.8 kB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.5306, allocations: 2.906 MB / 1.525 GB, free: 7.758 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.5308, allocations: 171.1 kB / 1.525 GB, free: 7.57 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.531, allocations: 70.92 kB / 1.525 GB, free: 7.504 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.5311, allocations: 83.42 kB / 1.525 GB, free: 7.422 MB / 1.217 GB Notification: Performance of SimCode: time 5e-07/0.5311, allocations: 0 / 1.525 GB, free: 7.422 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03931/0.5704, allocations: 9.989 MB / 1.535 GB, free: 13.72 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.62, allocations: 3.188 kB / 1.535 GB, free: 13.72 MB / 1.232 GB " [Timeout remaining time 288] (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: 17.80338961398229]