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.0007649/0.0007649, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007982/0.0007982, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8393/0.8393, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.683/1.683, allocations: 377.9 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.1e-05, allocations: 5.234 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5738/0.5738, allocations: 147.6 MB / 1.125 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.5763, allocations: 1.5 MB / 1.127 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003927/0.5767, allocations: 15.47 kB / 1.127 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.5772, allocations: 160.2 kB / 1.127 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.5789, allocations: 0.7195 MB / 1.127 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.5805, allocations: 0.6624 MB / 1.128 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009578/0.5815, allocations: 0.7206 MB / 1.129 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.5819, allocations: 180.3 kB / 1.129 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.5829, allocations: 0.6124 MB / 1.13 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.5832, allocations: 197.8 kB / 1.13 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.5833, allocations: 23.5 kB / 1.13 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.5847, allocations: 0.7224 MB / 1.131 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.5848, allocations: 115.7 kB / 1.131 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.585, allocations: 118.9 kB / 1.131 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.5861, allocations: 0.744 MB / 1.131 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5861, allocations: 0 / 1.131 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5861, allocations: 0 / 1.131 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.5861, allocations: 1.438 kB / 1.131 GB, free: 9.91 MB / 0.9948 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.0007356/0.5869, allocations: 0.5932 MB / 1.132 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5869, allocations: 10.03 kB / 1.132 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.587, allocations: 63.47 kB / 1.132 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007056/0.5877, allocations: 155.9 kB / 1.132 GB, free: 9.359 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.5881, allocations: 253.9 kB / 1.133 GB, free: 9.172 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.5881, allocations: 21.84 kB / 1.133 GB, free: 9.16 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.5882, allocations: 28.42 kB / 1.133 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.5885, allocations: 285.9 kB / 1.133 GB, free: 9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5886, allocations: 5.031 kB / 1.133 GB, free: 9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.5886, allocations: 11.23 kB / 1.133 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.5886, allocations: 5.844 kB / 1.133 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.5889, allocations: 199.3 kB / 1.133 GB, free: 8.938 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.5899, allocations: 0.9928 MB / 1.134 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.5901, allocations: 133.2 kB / 1.134 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.5902, allocations: 93.72 kB / 1.134 GB, free: 8.082 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.5905, allocations: 74.8 kB / 1.134 GB, free: 8.074 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.5905, allocations: 43.98 kB / 1.134 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 1.883e-06/0.5905, allocations: 0 / 1.134 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.0005319/0.5911, allocations: 297 kB / 1.135 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.5911, allocations: 54.72 kB / 1.135 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.5913, allocations: 330 kB / 1.135 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.5914, allocations: 30.95 kB / 1.135 GB, free: 7.648 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.5914, allocations: 185.1 kB / 1.135 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.5915, allocations: 61.88 kB / 1.135 GB, free: 7.441 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.5915, allocations: 43.08 kB / 1.135 GB, free: 7.414 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.5916, allocations: 349 kB / 1.136 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5917, allocations: 65.22 kB / 1.136 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.5918, allocations: 206.5 kB / 1.136 GB, free: 6.898 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.5921, allocations: 196.9 kB / 1.136 GB, free: 6.793 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5921, allocations: 0 / 1.136 GB, free: 6.793 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002957/0.5924, allocations: 268.6 kB / 1.136 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5924, allocations: 6.109 kB / 1.136 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5924, allocations: 1.375 kB / 1.136 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5924, allocations: 2.75 kB / 1.136 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.5925, allocations: 44.92 kB / 1.136 GB, free: 6.668 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.5925, allocations: 3.312 kB / 1.136 GB, free: 6.668 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.5926, allocations: 29.94 kB / 1.136 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.5927, allocations: 11.67 kB / 1.136 GB, free: 6.648 MB / 0.9948 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 8.976e-05/0.5927, allocations: 150.5 kB / 1.137 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.5928, allocations: 39.28 kB / 1.137 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.5931, allocations: 231.5 kB / 1.137 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5931, allocations: 2.75 kB / 1.137 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5931, allocations: 0 / 1.137 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5931, allocations: 2.312 kB / 1.137 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.5938, allocations: 0.6555 MB / 1.137 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5938, allocations: 1.812 kB / 1.137 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.5939, allocations: 40.58 kB / 1.138 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.5939, allocations: 5.953 kB / 1.138 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5939, allocations: 4.125 kB / 1.138 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5939, allocations: 3.484 kB / 1.138 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.5939, allocations: 1.531 kB / 1.138 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.5943, allocations: 457.1 kB / 1.138 GB, free: 5.641 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.5944, allocations: 50.12 kB / 1.138 GB, free: 5.613 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.5944, allocations: 3.797 kB / 1.138 GB, free: 5.613 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.5945, allocations: 11.84 kB / 1.138 GB, free: 5.609 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.5946, allocations: 17.38 kB / 1.138 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5946, allocations: 10.52 kB / 1.138 GB, free: 5.602 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001547/0.5947, allocations: 228.8 kB / 1.138 GB, free: 5.48 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5947, allocations: 5.344 kB / 1.138 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003216/0.595, allocations: 89.16 kB / 1.138 GB, free: 5.457 MB / 0.9948 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.0006536/0.5957, allocations: 1.018 MB / 1.139 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.596, allocations: 186.1 kB / 1.14 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.596, allocations: 0 / 1.14 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.5961, allocations: 90.5 kB / 1.14 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.5967, allocations: 163 kB / 1.14 GB, free: 4.516 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.5993, allocations: 2.971 MB / 1.143 GB, free: 2.559 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.5995, allocations: 183.1 kB / 1.143 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000234/0.5997, allocations: 70.02 kB / 1.143 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.5998, allocations: 93.77 kB / 1.143 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of SimCode: time 1.022e-06/0.5998, allocations: 0.8438 kB / 1.143 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.6285, allocations: 10.28 MB / 1.153 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/7.176, allocations: 7.5 kB / 1.153 GB, free: 0.7617 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.207133362069726]