Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 1.059 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2625, allocations: 160.7 MB / 1.216 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7065/0.9689, allocations: 168.1 MB / 1.38 GB, free: 9.836 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.9717, allocations: 1.563 MB / 1.381 GB, free: 8.742 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003756/0.972, allocations: 14.91 kB / 1.381 GB, free: 8.734 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.9725, allocations: 145.7 kB / 1.381 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.9743, allocations: 0.7434 MB / 1.382 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.9758, allocations: 0.6099 MB / 1.383 GB, free: 7.945 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009243/0.9767, allocations: 0.7234 MB / 1.383 GB, free: 7.617 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.9771, allocations: 190.1 kB / 1.384 GB, free: 7.531 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006939/0.9778, allocations: 360.2 kB / 1.384 GB, free: 7.375 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.9782, allocations: 238.5 kB / 1.384 GB, free: 7.277 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.9782, allocations: 23.88 kB / 1.384 GB, free: 7.277 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.9796, allocations: 0.9275 MB / 1.385 GB, free: 6.895 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.9798, allocations: 118.3 kB / 1.385 GB, free: 6.812 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.98, allocations: 171.5 kB / 1.385 GB, free: 6.707 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.9812, allocations: 0.7331 MB / 1.386 GB, free: 6.277 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9812, allocations: 0 / 1.386 GB, free: 6.277 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9812, allocations: 0 / 1.386 GB, free: 6.277 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.9812, allocations: 0 / 1.386 GB, free: 6.277 MB / 1.061 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.001054/0.9823, allocations: 0.6764 MB / 1.387 GB, free: 5.676 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.9823, allocations: 13.31 kB / 1.387 GB, free: 5.672 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.9824, allocations: 58.39 kB / 1.387 GB, free: 5.613 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.9835, allocations: 160.4 kB / 1.387 GB, free: 5.535 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.984, allocations: 320.4 kB / 1.387 GB, free: 5.242 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.984, allocations: 18.06 kB / 1.387 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.9841, allocations: 31.92 kB / 1.387 GB, free: 5.215 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.9845, allocations: 285.1 kB / 1.388 GB, free: 5.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9846, allocations: 0 / 1.388 GB, free: 5.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.9846, allocations: 14.38 kB / 1.388 GB, free: 5.008 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.9846, allocations: 5 kB / 1.388 GB, free: 5.008 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.985, allocations: 198.1 kB / 1.388 GB, free: 4.922 MB / 1.061 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.001461/0.9865, allocations: 1.219 MB / 1.389 GB, free: 3.797 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.9867, allocations: 144.9 kB / 1.389 GB, free: 3.711 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.9869, allocations: 95.2 kB / 1.389 GB, free: 3.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/0.9875, allocations: 299.3 kB / 1.39 GB, free: 3.355 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.9875, allocations: 39.56 kB / 1.39 GB, free: 3.309 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.9875, allocations: 7.938 kB / 1.39 GB, free: 3.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0007735/0.9883, allocations: 299.2 kB / 1.39 GB, free: 3.148 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.9883, allocations: 53.56 kB / 1.39 GB, free: 3.086 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.9887, allocations: 324 kB / 1.39 GB, free: 2.871 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.9887, allocations: 31.08 kB / 1.39 GB, free: 2.836 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.9888, allocations: 188.5 kB / 1.39 GB, free: 2.664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.9889, allocations: 62.81 kB / 1.391 GB, free: 2.609 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.989, allocations: 43.58 kB / 1.391 GB, free: 2.578 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9891, allocations: 338.3 kB / 1.391 GB, free: 2.246 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.9893, allocations: 72.84 kB / 1.391 GB, free: 2.211 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.9895, allocations: 130.8 kB / 1.391 GB, free: 2.117 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.9899, allocations: 193.9 kB / 1.391 GB, free: 1.992 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.9899, allocations: 5.188 kB / 1.391 GB, free: 1.988 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004742/0.9903, allocations: 256.9 kB / 1.392 GB, free: 1.848 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.9903, allocations: 5 kB / 1.392 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9904, allocations: 2.219 kB / 1.392 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.9904, allocations: 2.375 kB / 1.392 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.9906, allocations: 47.19 kB / 1.392 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.9906, allocations: 2.375 kB / 1.392 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.9908, allocations: 38.64 kB / 1.392 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.9908, allocations: 7.594 kB / 1.392 GB, free: 1.809 MB / 1.061 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.0001478/0.9909, allocations: 156 kB / 1.392 GB, free: 1.664 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.991, allocations: 34.8 kB / 1.392 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.9915, allocations: 226.1 kB / 1.392 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.9915, allocations: 1.125 kB / 1.392 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9915, allocations: 2.125 kB / 1.392 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9915, allocations: 7.984 kB / 1.392 GB, free: 1.504 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.9925, allocations: 0.7135 MB / 1.393 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9925, allocations: 2.344 kB / 1.393 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.9927, allocations: 35.17 kB / 1.393 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.9927, allocations: 2.375 kB / 1.393 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.9927, allocations: 3.594 kB / 1.393 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.9927, allocations: 13.98 kB / 1.393 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9927, allocations: 2.375 kB / 1.393 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.9934, allocations: 454.4 kB / 1.393 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.9935, allocations: 135.3 kB / 1.393 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.9936, allocations: 8 kB / 1.393 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.9938, allocations: 12.2 kB / 1.393 GB, free: 412 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.9938, allocations: 19.23 kB / 1.393 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.9938, allocations: 5.844 kB / 1.393 GB, free: 400 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002255/0.994, allocations: 229.4 kB / 1.394 GB, free: 252 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.994, allocations: 1.156 kB / 1.394 GB, free: 252 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003723/0.9944, allocations: 92.59 kB / 1.394 GB, free: 228 kB / 1.061 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.001219/0.9956, allocations: 1.041 MB / 1.395 GB, free: 15.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.9961, allocations: 175 kB / 1.395 GB, free: 15.26 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9961, allocations: 3.938 kB / 1.395 GB, free: 15.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.9962, allocations: 85.67 kB / 1.395 GB, free: 15.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008368/0.9971, allocations: 172.3 kB / 1.395 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/1.001, allocations: 3.017 MB / 1.398 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/1.001, allocations: 0.7811 MB / 1.399 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002123/1.002, allocations: 68.11 kB / 1.399 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/1.002, allocations: 93.09 kB / 1.399 GB, free: 12.04 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/1.002, allocations: 0 / 1.399 GB, free: 12.04 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/1.038, allocations: 9.09 MB / 1.408 GB, free: 7.555 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/8.476, allocations: 7.672 kB / 1.408 GB, free: 7.551 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senDyn.v in file Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.v from file Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senSteSta.v in file Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senSteSta.v from file Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.781171312999504]