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.002039/0.002039, allocations: 107 kB / 16.45 MB, free: 5.898 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.002591/0.002591, allocations: 217.6 kB / 19.43 MB, free: 3.594 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.811/2.811, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] 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.002148/0.002148, allocations: 71.89 kB / 1.112 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8363, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2015/1.038, allocations: 170.9 MB / 1.445 GB, free: 1.883 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002967/1.041, allocations: 1.561 MB / 1.447 GB, free: 332 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/1.041, allocations: 19.81 kB / 1.447 GB, free: 312 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/1.042, allocations: 154.9 kB / 1.447 GB, free: 156 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/1.043, allocations: 0.7391 MB / 1.448 GB, free: 15.41 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/1.045, allocations: 0.6158 MB / 1.448 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001014/1.046, allocations: 0.7214 MB / 1.449 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/1.047, allocations: 200.9 kB / 1.449 GB, free: 13.87 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006899/1.047, allocations: 358.7 kB / 1.449 GB, free: 13.52 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/1.048, allocations: 247 kB / 1.45 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/1.048, allocations: 27.94 kB / 1.45 GB, free: 13.25 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/1.049, allocations: 0.9273 MB / 1.451 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/1.049, allocations: 111.6 kB / 1.451 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/1.05, allocations: 179.2 kB / 1.451 GB, free: 12.03 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/1.051, allocations: 0.7377 MB / 1.452 GB, free: 11.29 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.051, allocations: 0 / 1.452 GB, free: 11.29 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.703e-06/1.051, allocations: 0 / 1.452 GB, free: 11.29 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.051, allocations: 4 kB / 1.452 GB, free: 11.29 MB / 1.154 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.001051/1.052, allocations: 0.6693 MB / 1.452 GB, free: 10.57 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.052, allocations: 12.03 kB / 1.452 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/1.052, allocations: 54.55 kB / 1.452 GB, free: 10.5 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.053, allocations: 163.6 kB / 1.452 GB, free: 10.34 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/1.054, allocations: 326.8 kB / 1.453 GB, free: 9.98 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/1.054, allocations: 28.5 kB / 1.453 GB, free: 9.953 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/1.054, allocations: 20 kB / 1.453 GB, free: 9.934 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/1.054, allocations: 281.8 kB / 1.453 GB, free: 9.637 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.054, allocations: 0 / 1.453 GB, free: 9.637 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/1.054, allocations: 11.98 kB / 1.453 GB, free: 9.625 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/1.054, allocations: 8 kB / 1.453 GB, free: 9.617 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/1.055, allocations: 200.9 kB / 1.453 GB, free: 9.422 MB / 1.154 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.001654/1.057, allocations: 1.227 MB / 1.454 GB, free: 8.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/1.057, allocations: 142.3 kB / 1.455 GB, free: 7.941 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/1.057, allocations: 92.8 kB / 1.455 GB, free: 7.848 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/1.058, allocations: 303.2 kB / 1.455 GB, free: 7.496 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.058, allocations: 34.56 kB / 1.455 GB, free: 7.453 MB / 1.154 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/1.058, allocations: 0 / 1.455 GB, free: 7.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=17): time 0.000891/1.059, allocations: 301.6 kB / 1.455 GB, free: 7.152 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.059, allocations: 55.34 kB / 1.455 GB, free: 7.086 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/1.059, allocations: 320.5 kB / 1.456 GB, free: 6.77 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/1.059, allocations: 29.7 kB / 1.456 GB, free: 6.734 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/1.059, allocations: 184.3 kB / 1.456 GB, free: 6.547 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/1.059, allocations: 59.48 kB / 1.456 GB, free: 6.488 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/1.06, allocations: 53.66 kB / 1.456 GB, free: 6.43 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.06, allocations: 338.8 kB / 1.456 GB, free: 6.09 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/1.06, allocations: 71.94 kB / 1.456 GB, free: 6.02 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/1.06, allocations: 128 kB / 1.456 GB, free: 5.879 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/1.061, allocations: 208.9 kB / 1.457 GB, free: 5.656 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.061, allocations: 3.938 kB / 1.457 GB, free: 5.652 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005177/1.061, allocations: 252.2 kB / 1.457 GB, free: 5.402 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.061, allocations: 6.188 kB / 1.457 GB, free: 5.398 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.061, allocations: 3.938 kB / 1.457 GB, free: 5.395 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.061, allocations: 4 kB / 1.457 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/1.061, allocations: 47.97 kB / 1.457 GB, free: 5.344 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.061, allocations: 0 / 1.457 GB, free: 5.344 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/1.062, allocations: 35.77 kB / 1.457 GB, free: 5.309 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/1.062, allocations: 12 kB / 1.457 GB, free: 5.297 MB / 1.154 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.0001684/1.062, allocations: 163.9 kB / 1.457 GB, free: 5.129 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/1.062, allocations: 27.81 kB / 1.457 GB, free: 5.102 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/1.062, allocations: 228.7 kB / 1.457 GB, free: 4.871 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.062, allocations: 0 / 1.457 GB, free: 4.871 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.062, allocations: 4 kB / 1.457 GB, free: 4.867 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.062, allocations: 3.984 kB / 1.457 GB, free: 4.863 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/1.064, allocations: 0.7029 MB / 1.458 GB, free: 4.082 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.064, allocations: 8.219 kB / 1.458 GB, free: 4.074 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/1.064, allocations: 31.98 kB / 1.458 GB, free: 4.043 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.064, allocations: 0 / 1.458 GB, free: 4.043 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/1.064, allocations: 11.94 kB / 1.458 GB, free: 4.031 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.064, allocations: 4 kB / 1.458 GB, free: 4.027 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.064, allocations: 7.922 kB / 1.458 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/1.065, allocations: 446.8 kB / 1.459 GB, free: 3.547 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/1.065, allocations: 132.8 kB / 1.459 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/1.065, allocations: 12 kB / 1.459 GB, free: 3.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/1.065, allocations: 11.98 kB / 1.459 GB, free: 3.375 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/1.065, allocations: 11.98 kB / 1.459 GB, free: 3.363 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.065, allocations: 12 kB / 1.459 GB, free: 3.352 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002752/1.065, allocations: 227 kB / 1.459 GB, free: 3.129 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.065, allocations: 0 / 1.459 GB, free: 3.129 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004324/1.066, allocations: 83.94 kB / 1.459 GB, free: 3.047 MB / 1.154 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.001358/1.067, allocations: 1.042 MB / 1.46 GB, free: 1.953 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004599/1.068, allocations: 184.1 kB / 1.46 GB, free: 1.773 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.068, allocations: 0 / 1.46 GB, free: 1.773 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/1.068, allocations: 91.83 kB / 1.46 GB, free: 1.684 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/1.069, allocations: 169.9 kB / 1.461 GB, free: 1.523 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/1.073, allocations: 3.002 MB / 1.463 GB, free: 14.38 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/1.074, allocations: 0.7834 MB / 1.464 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002547/1.074, allocations: 70.92 kB / 1.464 GB, free: 13.5 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/1.074, allocations: 91.41 kB / 1.464 GB, free: 13.41 MB / 1.17 GB Notification: Performance of SimCode: time 7.81e-07/1.074, allocations: 0 / 1.464 GB, free: 13.41 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05766/1.132, allocations: 9.011 MB / 1.473 GB, free: 4.566 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.908/10.04, allocations: 7.906 kB / 1.473 GB, free: 4.562 MB / 1.17 GB " [Timeout remaining time 290] (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: 16.37032811692916]