Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001411/0.001411, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001704/0.001704, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_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.002167/0.002167, allocations: 67.33 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3428, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2069/0.5497, allocations: 147.6 MB / 1.427 GB, free: 8.23 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.5529, allocations: 1.491 MB / 1.428 GB, free: 6.738 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.5533, allocations: 19.81 kB / 1.428 GB, free: 6.719 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.5538, allocations: 154.9 kB / 1.428 GB, free: 6.566 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.5558, allocations: 0.7039 MB / 1.429 GB, free: 5.859 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.5576, allocations: 0.6212 MB / 1.43 GB, free: 5.238 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.5588, allocations: 0.7331 MB / 1.43 GB, free: 4.5 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004402/0.5592, allocations: 192.6 kB / 1.431 GB, free: 4.312 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008361/0.5601, allocations: 366.7 kB / 1.431 GB, free: 3.953 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.5604, allocations: 231 kB / 1.431 GB, free: 3.727 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.5604, allocations: 24 kB / 1.431 GB, free: 3.703 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.5621, allocations: 0.7205 MB / 1.432 GB, free: 2.98 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.5623, allocations: 119.6 kB / 1.432 GB, free: 2.863 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.5624, allocations: 143.3 kB / 1.432 GB, free: 2.723 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.5637, allocations: 0.7026 MB / 1.433 GB, free: 2.02 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5637, allocations: 0 / 1.433 GB, free: 2.02 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5637, allocations: 0 / 1.433 GB, free: 2.02 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.5637, allocations: 0 / 1.433 GB, free: 2.02 MB / 1.123 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.001058/0.5648, allocations: 0.5978 MB / 1.433 GB, free: 1.391 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5648, allocations: 8.031 kB / 1.433 GB, free: 1.383 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.534e-05/0.5649, allocations: 62.55 kB / 1.433 GB, free: 1.312 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.5661, allocations: 163.6 kB / 1.434 GB, free: 1.152 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.5666, allocations: 256.5 kB / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.5667, allocations: 24.44 kB / 1.434 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.5667, allocations: 27.94 kB / 1.434 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.5673, allocations: 285 kB / 1.434 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5673, allocations: 0 / 1.434 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.5673, allocations: 12 kB / 1.434 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.5673, allocations: 4 kB / 1.434 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.5678, allocations: 196.9 kB / 1.434 GB, free: 324 kB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.5693, allocations: 1.002 MB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.5696, allocations: 152.6 kB / 1.436 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.5698, allocations: 88.8 kB / 1.436 GB, free: 15.01 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004756/0.5702, allocations: 71.92 kB / 1.436 GB, free: 14.94 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.5703, allocations: 34.56 kB / 1.436 GB, free: 14.89 MB / 1.139 GB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.5703, allocations: 4 kB / 1.436 GB, free: 14.89 MB / 1.139 GB Notification: Performance of matching and sorting (n=17): time 0.0008465/0.5711, allocations: 293.5 kB / 1.436 GB, free: 14.6 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.5712, allocations: 59.39 kB / 1.436 GB, free: 14.53 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.5716, allocations: 320.5 kB / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.5716, allocations: 29.7 kB / 1.436 GB, free: 14.17 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.5718, allocations: 192.2 kB / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.5718, allocations: 59.44 kB / 1.437 GB, free: 13.92 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.5719, allocations: 45.7 kB / 1.437 GB, free: 13.87 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.5721, allocations: 338.8 kB / 1.437 GB, free: 13.53 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.5723, allocations: 71.94 kB / 1.437 GB, free: 13.46 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.5725, allocations: 206.1 kB / 1.437 GB, free: 13.22 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.5729, allocations: 204.8 kB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.573, allocations: 4 kB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005274/0.5735, allocations: 253.3 kB / 1.438 GB, free: 12.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5735, allocations: 8 kB / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5735, allocations: 0 / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5735, allocations: 4 kB / 1.438 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.5737, allocations: 43.91 kB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5737, allocations: 4 kB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.574, allocations: 35.77 kB / 1.438 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.574, allocations: 8 kB / 1.438 GB, free: 12.64 MB / 1.139 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.0001802/0.5742, allocations: 153.7 kB / 1.438 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.5742, allocations: 35.84 kB / 1.438 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/0.5748, allocations: 222.7 kB / 1.438 GB, free: 12.22 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.5748, allocations: 0 / 1.438 GB, free: 12.22 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5748, allocations: 0 / 1.438 GB, free: 12.22 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5748, allocations: 3.984 kB / 1.438 GB, free: 12.22 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.5761, allocations: 0.663 MB / 1.439 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5761, allocations: 0 / 1.439 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.5763, allocations: 39.92 kB / 1.439 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.5763, allocations: 4 kB / 1.439 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.5763, allocations: 7.938 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.5763, allocations: 4 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.5763, allocations: 7.984 kB / 1.439 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.5771, allocations: 449.3 kB / 1.439 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.5772, allocations: 55.72 kB / 1.439 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.5772, allocations: 7.938 kB / 1.439 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.5774, allocations: 15.98 kB / 1.439 GB, free: 10.87 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.5775, allocations: 11.98 kB / 1.439 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.5775, allocations: 8 kB / 1.439 GB, free: 10.85 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002915/0.5778, allocations: 235 kB / 1.44 GB, free: 10.62 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5778, allocations: 0 / 1.44 GB, free: 10.62 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004627/0.5782, allocations: 87.94 kB / 1.44 GB, free: 10.53 MB / 1.139 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.001339/0.5796, allocations: 1.029 MB / 1.441 GB, free: 9.453 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.5801, allocations: 182.4 kB / 1.441 GB, free: 9.277 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5801, allocations: 0 / 1.441 GB, free: 9.277 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.5803, allocations: 87.81 kB / 1.441 GB, free: 9.191 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/0.5811, allocations: 166 kB / 1.441 GB, free: 9.031 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.5854, allocations: 3.01 MB / 1.444 GB, free: 5.875 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.5856, allocations: 175.8 kB / 1.444 GB, free: 5.688 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.5859, allocations: 66.92 kB / 1.444 GB, free: 5.621 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.586, allocations: 95.41 kB / 1.444 GB, free: 5.527 MB / 1.139 GB Notification: Performance of SimCode: time 6.61e-07/0.586, allocations: 0 / 1.444 GB, free: 5.527 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04237/0.6284, allocations: 10.18 MB / 1.454 GB, free: 11.66 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.62, allocations: 4.922 kB / 1.454 GB, free: 11.65 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senDyn.v in file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.v from file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senSteSta.v in file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senSteSta.v from file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.607842263299972]