Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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.001544/0.001544, 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.001784/0.001784, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.738 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.013/3.013, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",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.003285/0.003285, allocations: 62.23 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3119, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1718/0.4837, allocations: 147.7 MB / 1.508 GB, free: 9.844 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.4864, allocations: 1.493 MB / 1.509 GB, free: 8.352 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.4868, allocations: 15.88 kB / 1.509 GB, free: 8.336 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.4873, allocations: 154.8 kB / 1.509 GB, free: 8.184 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.4891, allocations: 0.7039 MB / 1.51 GB, free: 7.477 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.4906, allocations: 0.622 MB / 1.511 GB, free: 6.855 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009544/0.4916, allocations: 0.7176 MB / 1.511 GB, free: 6.137 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.492, allocations: 201.2 kB / 1.511 GB, free: 5.938 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.4931, allocations: 0.5138 MB / 1.512 GB, free: 5.422 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.4935, allocations: 231 kB / 1.512 GB, free: 5.195 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.4936, allocations: 24 kB / 1.512 GB, free: 5.172 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.4948, allocations: 0.7011 MB / 1.513 GB, free: 4.469 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.495, allocations: 115.6 kB / 1.513 GB, free: 4.355 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.4951, allocations: 143.3 kB / 1.513 GB, free: 4.215 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.4963, allocations: 0.7086 MB / 1.514 GB, free: 3.504 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4963, allocations: 0 / 1.514 GB, free: 3.504 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4963, allocations: 0 / 1.514 GB, free: 3.504 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.4963, allocations: 0 / 1.514 GB, free: 3.504 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001035/0.4974, allocations: 0.6018 MB / 1.514 GB, free: 2.871 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4974, allocations: 8.031 kB / 1.514 GB, free: 2.863 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.4975, allocations: 54.55 kB / 1.514 GB, free: 2.801 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.4986, allocations: 159.6 kB / 1.515 GB, free: 2.645 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.4992, allocations: 272.4 kB / 1.515 GB, free: 2.355 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4992, allocations: 24.38 kB / 1.515 GB, free: 2.328 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.4992, allocations: 20 kB / 1.515 GB, free: 2.309 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.4997, allocations: 281.1 kB / 1.515 GB, free: 2.016 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4997, allocations: 0 / 1.515 GB, free: 2.016 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.4998, allocations: 15.98 kB / 1.515 GB, free: 2 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4998, allocations: 4 kB / 1.515 GB, free: 1.996 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.5002, allocations: 204.9 kB / 1.515 GB, free: 1.797 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.5015, allocations: 0.9909 MB / 1.516 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.5018, allocations: 134.5 kB / 1.516 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.502, allocations: 96.8 kB / 1.517 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004469/0.5024, allocations: 71.86 kB / 1.517 GB, free: 448 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.5025, allocations: 38.56 kB / 1.517 GB, free: 400 kB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.5025, allocations: 0 / 1.517 GB, free: 400 kB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.0007549/0.5032, allocations: 304.3 kB / 1.517 GB, free: 92 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.5033, allocations: 51.41 kB / 1.517 GB, free: 28 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.5036, allocations: 324.5 kB / 1.517 GB, free: 15.7 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.5036, allocations: 29.7 kB / 1.517 GB, free: 15.67 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.5038, allocations: 180.2 kB / 1.518 GB, free: 15.48 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.5038, allocations: 67.45 kB / 1.518 GB, free: 15.42 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.5039, allocations: 49.66 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5041, allocations: 342.8 kB / 1.518 GB, free: 15.02 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.5042, allocations: 67.95 kB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.5045, allocations: 212 kB / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.5048, allocations: 197 kB / 1.518 GB, free: 14.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5048, allocations: 7.938 kB / 1.518 GB, free: 14.49 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004732/0.5053, allocations: 253.2 kB / 1.519 GB, free: 14.24 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5053, allocations: 8 kB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5053, allocations: 0 / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5054, allocations: 4 kB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.5056, allocations: 47.92 kB / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5056, allocations: 0 / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.5058, allocations: 31.86 kB / 1.519 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.5058, allocations: 16 kB / 1.519 GB, free: 14.13 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 (24): * Single equations (assignments): 24 * 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.0001488/0.5059, allocations: 158.3 kB / 1.519 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.506, allocations: 31.81 kB / 1.519 GB, free: 13.94 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.5065, allocations: 224.7 kB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5065, allocations: 0 / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5065, allocations: 4 kB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5065, allocations: 4 kB / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5075, allocations: 0.6591 MB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5075, allocations: 0 / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.5077, allocations: 35.92 kB / 1.52 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5077, allocations: 4 kB / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5077, allocations: 8.156 kB / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5077, allocations: 4 kB / 1.52 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5077, allocations: 4 kB / 1.52 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.5084, allocations: 451 kB / 1.52 GB, free: 12.44 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.5085, allocations: 55.67 kB / 1.52 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.5085, allocations: 11.94 kB / 1.52 GB, free: 12.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.5087, allocations: 7.984 kB / 1.52 GB, free: 12.37 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.5088, allocations: 19.98 kB / 1.52 GB, free: 12.35 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5088, allocations: 8 kB / 1.52 GB, free: 12.34 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002263/0.509, allocations: 231 kB / 1.521 GB, free: 12.12 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.509, allocations: 0 / 1.521 GB, free: 12.12 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000374/0.5094, allocations: 83.92 kB / 1.521 GB, free: 12.04 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 (17): * Single equations (assignments): 17 * 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.001086/0.5105, allocations: 1.027 MB / 1.522 GB, free: 10.96 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004195/0.5109, allocations: 181.4 kB / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5109, allocations: 0 / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.5111, allocations: 87.83 kB / 1.522 GB, free: 10.7 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.512, allocations: 172.1 kB / 1.522 GB, free: 10.53 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.5157, allocations: 3.015 MB / 1.525 GB, free: 7.367 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.5158, allocations: 175.8 kB / 1.525 GB, free: 7.176 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.516, allocations: 62.92 kB / 1.525 GB, free: 7.117 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.5162, allocations: 91.41 kB / 1.525 GB, free: 7.027 MB / 1.217 GB Notification: Performance of SimCode: time 4.01e-07/0.5162, allocations: 3.938 kB / 1.525 GB, free: 7.023 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.5559, allocations: 10.19 MB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.32, allocations: 6.031 kB / 1.535 GB, free: 13.11 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_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_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senDyn.v in file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.v from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senSteSta.v in file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senSteSta.v from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.590561895165592]