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.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.001388/0.001388, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001384/0.001384, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.522/2.522, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 59.91 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.797, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.195/0.992, allocations: 168.1 MB / 1.436 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002987/0.995, allocations: 1.564 MB / 1.437 GB, free: 8.785 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.9954, allocations: 14.84 kB / 1.437 GB, free: 8.777 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.9959, allocations: 152.8 kB / 1.437 GB, free: 8.645 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.9978, allocations: 0.738 MB / 1.438 GB, free: 8.09 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.9995, allocations: 0.624 MB / 1.439 GB, free: 7.629 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001048/1, allocations: 0.7205 MB / 1.439 GB, free: 7.211 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/1.001, allocations: 189.3 kB / 1.44 GB, free: 7.086 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000801/1.002, allocations: 361.9 kB / 1.44 GB, free: 6.879 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/1.002, allocations: 234.4 kB / 1.44 GB, free: 6.742 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/1.002, allocations: 27.53 kB / 1.44 GB, free: 6.738 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/1.004, allocations: 0.9262 MB / 1.441 GB, free: 6.199 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/1.004, allocations: 106.6 kB / 1.441 GB, free: 6.129 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/1.004, allocations: 176.3 kB / 1.441 GB, free: 6.02 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/1.006, allocations: 0.7316 MB / 1.442 GB, free: 5.582 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.006, allocations: 4 kB / 1.442 GB, free: 5.578 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.482e-06/1.006, allocations: 0.9062 kB / 1.442 GB, free: 5.578 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.006, allocations: 3.938 kB / 1.442 GB, free: 5.574 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.0012/1.007, allocations: 0.6715 MB / 1.443 GB, free: 4.977 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.007, allocations: 10.19 kB / 1.443 GB, free: 4.977 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/1.007, allocations: 57.89 kB / 1.443 GB, free: 4.918 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.008, allocations: 160.7 kB / 1.443 GB, free: 4.84 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/1.009, allocations: 328.9 kB / 1.443 GB, free: 4.535 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/1.009, allocations: 22 kB / 1.443 GB, free: 4.523 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/1.009, allocations: 23.84 kB / 1.443 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/1.009, allocations: 283.7 kB / 1.443 GB, free: 4.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.009, allocations: 5.312 kB / 1.444 GB, free: 4.316 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/1.009, allocations: 9.656 kB / 1.444 GB, free: 4.309 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/1.009, allocations: 6.188 kB / 1.444 GB, free: 4.309 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/1.01, allocations: 203.4 kB / 1.444 GB, free: 4.137 MB / 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.001537/1.011, allocations: 1.223 MB / 1.445 GB, free: 2.809 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/1.012, allocations: 138.5 kB / 1.445 GB, free: 2.664 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/1.012, allocations: 93.05 kB / 1.445 GB, free: 2.57 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005865/1.012, allocations: 315.1 kB / 1.445 GB, free: 2.207 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/1.012, allocations: 38.55 kB / 1.445 GB, free: 2.16 MB / 1.123 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/1.012, allocations: 0 / 1.445 GB, free: 2.16 MB / 1.123 GB Notification: Performance of matching and sorting (n=17): time 0.0008273/1.013, allocations: 293.3 kB / 1.446 GB, free: 1.867 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.013, allocations: 55.41 kB / 1.446 GB, free: 1.801 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/1.014, allocations: 320.5 kB / 1.446 GB, free: 1.48 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/1.014, allocations: 25.7 kB / 1.446 GB, free: 1.449 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.014, allocations: 188.3 kB / 1.446 GB, free: 1.262 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/1.014, allocations: 59.48 kB / 1.446 GB, free: 1.203 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/1.014, allocations: 45.64 kB / 1.446 GB, free: 1.152 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.014, allocations: 346.8 kB / 1.447 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/1.014, allocations: 67.95 kB / 1.447 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/1.014, allocations: 122.5 kB / 1.447 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/1.015, allocations: 204.9 kB / 1.447 GB, free: 392 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.015, allocations: 0 / 1.447 GB, free: 392 kB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004879/1.015, allocations: 247.8 kB / 1.447 GB, free: 140 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.015, allocations: 8.094 kB / 1.447 GB, free: 132 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.015, allocations: 4 kB / 1.447 GB, free: 128 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/1.015, allocations: 0 / 1.447 GB, free: 128 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/1.015, allocations: 51.91 kB / 1.447 GB, free: 76 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.016, allocations: 4 kB / 1.447 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/1.016, allocations: 35.72 kB / 1.447 GB, free: 36 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/1.016, allocations: 11.94 kB / 1.447 GB, free: 24 kB / 1.123 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.0001606/1.016, allocations: 157.7 kB / 1.448 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/1.016, allocations: 35.81 kB / 1.448 GB, free: 15.82 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/1.016, allocations: 230.5 kB / 1.448 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.016, allocations: 4 kB / 1.448 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.016, allocations: 3.984 kB / 1.448 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.016, allocations: 0 / 1.448 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.018, allocations: 0.7069 MB / 1.449 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.018, allocations: 0 / 1.449 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/1.018, allocations: 35.92 kB / 1.449 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.018, allocations: 8.219 kB / 1.449 GB, free: 14.76 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/1.018, allocations: 3.938 kB / 1.449 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.018, allocations: 7.984 kB / 1.449 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.018, allocations: 11.88 kB / 1.449 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/1.018, allocations: 450.9 kB / 1.449 GB, free: 14.26 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/1.019, allocations: 124.8 kB / 1.449 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/1.019, allocations: 3.938 kB / 1.449 GB, free: 14.11 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/1.019, allocations: 15.98 kB / 1.449 GB, free: 14.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/1.019, allocations: 23.98 kB / 1.449 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.019, allocations: 4 kB / 1.449 GB, free: 14.07 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002398/1.019, allocations: 231 kB / 1.449 GB, free: 13.84 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.01e-07/1.019, allocations: 0 / 1.449 GB, free: 13.84 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003965/1.02, allocations: 87.88 kB / 1.45 GB, free: 13.76 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.001246/1.021, allocations: 1.046 MB / 1.451 GB, free: 12.67 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004354/1.021, allocations: 179.8 kB / 1.451 GB, free: 12.49 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.021, allocations: 0 / 1.451 GB, free: 12.49 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/1.021, allocations: 87.83 kB / 1.451 GB, free: 12.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/1.022, allocations: 176.6 kB / 1.451 GB, free: 12.24 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/1.026, allocations: 3.01 MB / 1.454 GB, free: 9.082 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/1.026, allocations: 0.7795 MB / 1.455 GB, free: 8.273 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001968/1.027, allocations: 70.92 kB / 1.455 GB, free: 8.207 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/1.027, allocations: 95.41 kB / 1.455 GB, free: 8.113 MB / 1.139 GB Notification: Performance of SimCode: time 4.41e-07/1.027, allocations: 0 / 1.455 GB, free: 8.113 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/1.062, allocations: 9.089 MB / 1.464 GB, free: 15.22 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/8.473, allocations: 4 kB / 1.464 GB, free: 15.21 MB / 1.154 GB " [Timeout remaining time 291] (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: 13.941962741999305]