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.001273/0.001273, allocations: 107.1 kB / 16.45 MB, free: 6.5 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.001388/0.001388, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.264/3.264, allocations: 0.505 GB / 0.8066 GB, free: 23.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.002221/0.002221, allocations: 77.2 kB / 1.172 GB, free: 17.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3479, allocations: 180.2 MB / 1.348 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1938/0.5417, allocations: 170.9 MB / 1.515 GB, free: 14.53 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.5446, allocations: 1.568 MB / 1.516 GB, free: 12.96 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.545, allocations: 19.81 kB / 1.516 GB, free: 12.94 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.5455, allocations: 150.8 kB / 1.516 GB, free: 12.79 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.5478, allocations: 0.739 MB / 1.517 GB, free: 12.05 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.5495, allocations: 0.6087 MB / 1.518 GB, free: 11.44 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009612/0.5504, allocations: 0.7137 MB / 1.518 GB, free: 10.73 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.5508, allocations: 212.8 kB / 1.519 GB, free: 10.51 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.552, allocations: 0.5021 MB / 1.519 GB, free: 10.01 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.5524, allocations: 239 kB / 1.519 GB, free: 9.773 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.5525, allocations: 24 kB / 1.519 GB, free: 9.75 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.5543, allocations: 0.9118 MB / 1.52 GB, free: 8.836 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.5545, allocations: 119.6 kB / 1.52 GB, free: 8.719 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.5547, allocations: 171.1 kB / 1.52 GB, free: 8.551 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.5561, allocations: 0.7359 MB / 1.521 GB, free: 7.812 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.5561, allocations: 0 / 1.521 GB, free: 7.812 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5561, allocations: 0 / 1.521 GB, free: 7.812 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.5561, allocations: 0 / 1.521 GB, free: 7.812 MB / 1.217 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.001121/0.5572, allocations: 0.681 MB / 1.522 GB, free: 7.082 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5573, allocations: 11.98 kB / 1.522 GB, free: 7.07 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.864e-05/0.5574, allocations: 58.48 kB / 1.522 GB, free: 7.004 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.5585, allocations: 159.6 kB / 1.522 GB, free: 6.848 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.5591, allocations: 330.9 kB / 1.522 GB, free: 6.484 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.5591, allocations: 16.5 kB / 1.522 GB, free: 6.465 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.5592, allocations: 24 kB / 1.522 GB, free: 6.441 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.5597, allocations: 289.8 kB / 1.523 GB, free: 6.141 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5597, allocations: 0 / 1.523 GB, free: 6.141 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.5597, allocations: 8 kB / 1.523 GB, free: 6.133 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.5597, allocations: 8 kB / 1.523 GB, free: 6.125 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.5602, allocations: 200.9 kB / 1.523 GB, free: 5.93 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.5618, allocations: 1.235 MB / 1.524 GB, free: 4.59 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.5622, allocations: 142.5 kB / 1.524 GB, free: 4.441 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5624, allocations: 92.8 kB / 1.524 GB, free: 4.348 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.563, allocations: 299.2 kB / 1.525 GB, free: 4 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.563, allocations: 34.56 kB / 1.525 GB, free: 3.957 MB / 1.217 GB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.563, allocations: 0 / 1.525 GB, free: 3.957 MB / 1.217 GB Notification: Performance of matching and sorting (n=17): time 0.0008909/0.5639, allocations: 295.7 kB / 1.525 GB, free: 3.664 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.564, allocations: 59.39 kB / 1.525 GB, free: 3.594 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.5643, allocations: 324.5 kB / 1.525 GB, free: 3.266 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.5644, allocations: 33.7 kB / 1.525 GB, free: 3.227 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.5645, allocations: 180.3 kB / 1.525 GB, free: 3.047 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.5646, allocations: 67.42 kB / 1.526 GB, free: 2.98 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.5647, allocations: 45.7 kB / 1.526 GB, free: 2.93 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.5648, allocations: 338.8 kB / 1.526 GB, free: 2.59 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.565, allocations: 67.94 kB / 1.526 GB, free: 2.523 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.5653, allocations: 135 kB / 1.526 GB, free: 2.375 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.5657, allocations: 200.9 kB / 1.526 GB, free: 2.16 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5657, allocations: 0 / 1.526 GB, free: 2.16 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005356/0.5662, allocations: 255.5 kB / 1.527 GB, free: 1.906 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5662, allocations: 4 kB / 1.527 GB, free: 1.902 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.5662, allocations: 4.141 kB / 1.527 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5662, allocations: 0 / 1.527 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.5665, allocations: 47.91 kB / 1.527 GB, free: 1.852 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5665, allocations: 16.02 kB / 1.527 GB, free: 1.836 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.5667, allocations: 23.84 kB / 1.527 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.5667, allocations: 15.98 kB / 1.527 GB, free: 1.797 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.0001596/0.5669, allocations: 153.7 kB / 1.527 GB, free: 1.637 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.5669, allocations: 31.81 kB / 1.527 GB, free: 1.605 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005407/0.5675, allocations: 228.6 kB / 1.527 GB, free: 1.375 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5675, allocations: 8 kB / 1.527 GB, free: 1.367 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.5675, allocations: 0 / 1.527 GB, free: 1.367 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5675, allocations: 3.984 kB / 1.527 GB, free: 1.363 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.5686, allocations: 0.6991 MB / 1.528 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.5686, allocations: 4 kB / 1.528 GB, free: 0.582 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.5688, allocations: 35.92 kB / 1.528 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.5688, allocations: 4 kB / 1.528 GB, free: 0.543 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.5688, allocations: 8.031 kB / 1.528 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5688, allocations: 7.938 kB / 1.528 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.5688, allocations: 4 kB / 1.528 GB, free: 0.5234 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.5695, allocations: 455.3 kB / 1.528 GB, free: 44 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.5697, allocations: 128.8 kB / 1.528 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.5697, allocations: 7.938 kB / 1.528 GB, free: 15.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.5699, allocations: 11.98 kB / 1.528 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.57, allocations: 15.98 kB / 1.528 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.57, allocations: 7.938 kB / 1.528 GB, free: 15.86 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002534/0.5702, allocations: 239.1 kB / 1.529 GB, free: 15.62 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5702, allocations: 0 / 1.529 GB, free: 15.62 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004026/0.5706, allocations: 79.89 kB / 1.529 GB, free: 15.55 MB / 1.232 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.001207/0.5718, allocations: 1.028 MB / 1.53 GB, free: 14.47 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.5723, allocations: 175.8 kB / 1.53 GB, free: 14.3 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5723, allocations: 0 / 1.53 GB, free: 14.3 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.5725, allocations: 87.83 kB / 1.53 GB, free: 14.21 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008725/0.5734, allocations: 171.9 kB / 1.53 GB, free: 14.05 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.5774, allocations: 3.01 MB / 1.533 GB, free: 10.89 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.5778, allocations: 0.7873 MB / 1.534 GB, free: 10.07 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.578, allocations: 62.92 kB / 1.534 GB, free: 10.01 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.5781, allocations: 87.41 kB / 1.534 GB, free: 9.922 MB / 1.232 GB Notification: Performance of SimCode: time 4.51e-07/0.5781, allocations: 0 / 1.534 GB, free: 9.922 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.6154, allocations: 9.034 MB / 1.543 GB, free: 1.059 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/9.038, allocations: 12.05 kB / 1.543 GB, free: 1.051 MB / 1.232 GB " [Timeout remaining time 291] (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: 15.663221945986152]