Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001452/0.001452, 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.001585/0.001585, allocations: 218.1 kB / 22.26 MB, free: 5.125 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.331/1.331, 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.876/2.876, allocations: 0.49 GB / 0.7951 GB, free: 33.6 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.Velocity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_12_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.001843/0.001843, allocations: 64.62 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2942, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1868/0.481, allocations: 171.1 MB / 1.493 GB, free: 6.246 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002678/0.4837, allocations: 1.576 MB / 1.494 GB, free: 4.668 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.4839, allocations: 19.81 kB / 1.495 GB, free: 4.648 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.4843, allocations: 146.9 kB / 1.495 GB, free: 4.504 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.4859, allocations: 0.7468 MB / 1.495 GB, free: 3.754 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.4873, allocations: 0.6356 MB / 1.496 GB, free: 3.121 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008275/0.4881, allocations: 0.7293 MB / 1.497 GB, free: 2.391 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.4884, allocations: 193.1 kB / 1.497 GB, free: 2.195 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009453/0.4893, allocations: 0.5138 MB / 1.497 GB, free: 1.68 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.4897, allocations: 243 kB / 1.498 GB, free: 1.441 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.4897, allocations: 24 kB / 1.498 GB, free: 1.418 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.491, allocations: 0.9313 MB / 1.499 GB, free: 496 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4912, allocations: 111.6 kB / 1.499 GB, free: 384 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.4913, allocations: 179.1 kB / 1.499 GB, free: 204 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009541/0.4923, allocations: 0.7203 MB / 1.5 GB, free: 15.48 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4923, allocations: 0 / 1.5 GB, free: 15.48 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4923, allocations: 3.984 kB / 1.5 GB, free: 15.47 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4923, allocations: 0 / 1.5 GB, free: 15.47 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.000919/0.4932, allocations: 0.6057 MB / 1.5 GB, free: 14.83 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4933, allocations: 12.03 kB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.4933, allocations: 62.53 kB / 1.5 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.4943, allocations: 155.6 kB / 1.5 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.4949, allocations: 268.4 kB / 1.501 GB, free: 14.31 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.4949, allocations: 20.44 kB / 1.501 GB, free: 14.29 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.4949, allocations: 24 kB / 1.501 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.4954, allocations: 281.1 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4954, allocations: 0 / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.4954, allocations: 12 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4954, allocations: 7.984 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.4958, allocations: 204.9 kB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.4973, allocations: 1.188 MB / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.4976, allocations: 146.4 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.4977, allocations: 92.73 kB / 1.503 GB, free: 12.22 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.4982, allocations: 75.91 kB / 1.503 GB, free: 12.15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.4982, allocations: 42.5 kB / 1.503 GB, free: 12.1 MB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.4982, allocations: 0 / 1.503 GB, free: 12.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.0007501/0.499, allocations: 291.3 kB / 1.503 GB, free: 11.81 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.499, allocations: 55.41 kB / 1.503 GB, free: 11.74 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.4994, allocations: 324.5 kB / 1.503 GB, free: 11.41 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.4994, allocations: 33.7 kB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.4995, allocations: 180.2 kB / 1.503 GB, free: 11.2 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.4996, allocations: 63.47 kB / 1.504 GB, free: 11.13 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.4997, allocations: 45.66 kB / 1.504 GB, free: 11.08 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4998, allocations: 342.8 kB / 1.504 GB, free: 10.74 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.5, allocations: 71.89 kB / 1.504 GB, free: 10.67 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.5002, allocations: 130.9 kB / 1.504 GB, free: 10.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.5006, allocations: 198.6 kB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5006, allocations: 0 / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000498/0.5011, allocations: 259.7 kB / 1.505 GB, free: 10.05 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.5011, allocations: 11.98 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5011, allocations: 0 / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5012, allocations: 4 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.5014, allocations: 39.92 kB / 1.505 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.5014, allocations: 8.094 kB / 1.505 GB, free: 9.992 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.5016, allocations: 31.77 kB / 1.505 GB, free: 9.961 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.5016, allocations: 8 kB / 1.505 GB, free: 9.953 MB / 1.201 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.0001767/0.5018, allocations: 165.7 kB / 1.505 GB, free: 9.781 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.5019, allocations: 31.81 kB / 1.505 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.5024, allocations: 220.7 kB / 1.505 GB, free: 9.527 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5024, allocations: 11.94 kB / 1.505 GB, free: 9.516 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5024, allocations: 0 / 1.505 GB, free: 9.516 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5024, allocations: 0 / 1.505 GB, free: 9.516 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.5035, allocations: 0.6787 MB / 1.506 GB, free: 8.766 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5035, allocations: 4 kB / 1.506 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.5037, allocations: 35.91 kB / 1.506 GB, free: 8.727 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5037, allocations: 4 kB / 1.506 GB, free: 8.723 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.5037, allocations: 11.94 kB / 1.506 GB, free: 8.711 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5037, allocations: 0 / 1.506 GB, free: 8.711 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5037, allocations: 4 kB / 1.506 GB, free: 8.707 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.5044, allocations: 458.7 kB / 1.506 GB, free: 8.223 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.5045, allocations: 43.83 kB / 1.506 GB, free: 8.18 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.5046, allocations: 15.92 kB / 1.506 GB, free: 8.164 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.5047, allocations: 4 kB / 1.506 GB, free: 8.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.5048, allocations: 23.91 kB / 1.506 GB, free: 8.137 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.5048, allocations: 4 kB / 1.506 GB, free: 8.133 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00025/0.505, allocations: 235.1 kB / 1.507 GB, free: 7.906 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.505, allocations: 0 / 1.507 GB, free: 7.906 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000422/0.5055, allocations: 87.81 kB / 1.507 GB, free: 7.82 MB / 1.201 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.001246/0.5067, allocations: 1.032 MB / 1.508 GB, free: 6.738 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.5072, allocations: 175.7 kB / 1.508 GB, free: 6.566 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5072, allocations: 0 / 1.508 GB, free: 6.566 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.5074, allocations: 87.83 kB / 1.508 GB, free: 6.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.5083, allocations: 177.1 kB / 1.508 GB, free: 6.312 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.5123, allocations: 2.995 MB / 1.511 GB, free: 3.172 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.5128, allocations: 0.7911 MB / 1.512 GB, free: 2.352 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002341/0.513, allocations: 62.94 kB / 1.512 GB, free: 2.289 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.5131, allocations: 95.41 kB / 1.512 GB, free: 2.195 MB / 1.201 GB Notification: Performance of SimCode: time 1.092e-06/0.5131, allocations: 0 / 1.512 GB, free: 2.195 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.5514, allocations: 9.258 MB / 1.521 GB, free: 9.172 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.58, allocations: 18.94 kB / 1.521 GB, free: 9.16 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_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_Velocity.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senDyn.v in file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.v from file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senSteSta.v in file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senSteSta.v from file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.57176943400009]