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.001466/0.001466, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001623/0.001623, allocations: 218 kB / 23.01 MB, free: 4.605 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 8.02 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 2.998/2.998, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") [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.001975/0.001975, allocations: 68.77 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 180.2 MB / 1.354 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1852/0.4943, allocations: 171.1 MB / 1.521 GB, free: 12.2 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.4971, allocations: 1.566 MB / 1.523 GB, free: 10.62 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.4974, allocations: 19.81 kB / 1.523 GB, free: 10.61 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.4978, allocations: 146.9 kB / 1.523 GB, free: 10.46 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.4995, allocations: 0.7468 MB / 1.524 GB, free: 9.711 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.5009, allocations: 0.6389 MB / 1.524 GB, free: 9.074 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.5018, allocations: 0.7216 MB / 1.525 GB, free: 8.352 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.5021, allocations: 197 kB / 1.525 GB, free: 8.156 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.5032, allocations: 0.5138 MB / 1.526 GB, free: 7.641 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.5035, allocations: 239 kB / 1.526 GB, free: 7.406 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.5035, allocations: 24 kB / 1.526 GB, free: 7.383 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.5051, allocations: 0.9352 MB / 1.527 GB, free: 6.445 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.5053, allocations: 111.6 kB / 1.527 GB, free: 6.336 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.5055, allocations: 175.1 kB / 1.527 GB, free: 6.164 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.5066, allocations: 0.7359 MB / 1.528 GB, free: 5.426 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5066, allocations: 4 kB / 1.528 GB, free: 5.422 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5067, allocations: 0 / 1.528 GB, free: 5.422 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5067, allocations: 0 / 1.528 GB, free: 5.422 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.0009333/0.5076, allocations: 0.6017 MB / 1.528 GB, free: 4.785 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5076, allocations: 12.03 kB / 1.528 GB, free: 4.773 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5087, allocations: 159.5 kB / 1.528 GB, free: 4.617 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.5092, allocations: 264.5 kB / 1.529 GB, free: 4.332 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.5092, allocations: 24.48 kB / 1.529 GB, free: 4.309 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.5093, allocations: 27.94 kB / 1.529 GB, free: 4.281 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.5098, allocations: 277 kB / 1.529 GB, free: 3.988 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5098, allocations: 0 / 1.529 GB, free: 3.988 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.5098, allocations: 12 kB / 1.529 GB, free: 3.977 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.5098, allocations: 7.984 kB / 1.529 GB, free: 3.969 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.5102, allocations: 204.9 kB / 1.529 GB, free: 3.77 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.5117, allocations: 1.188 MB / 1.53 GB, free: 2.484 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.5119, allocations: 146.3 kB / 1.531 GB, free: 2.332 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.5121, allocations: 92.8 kB / 1.531 GB, free: 2.238 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004426/0.5126, allocations: 71.91 kB / 1.531 GB, free: 2.168 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.5126, allocations: 42.5 kB / 1.531 GB, free: 2.117 MB / 1.217 GB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.5126, allocations: 8 kB / 1.531 GB, free: 2.109 MB / 1.217 GB Notification: Performance of matching and sorting (n=17): time 0.0007559/0.5133, allocations: 287.1 kB / 1.531 GB, free: 1.824 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.5134, allocations: 55.41 kB / 1.531 GB, free: 1.758 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.5137, allocations: 328.5 kB / 1.531 GB, free: 1.43 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5137, allocations: 29.7 kB / 1.531 GB, free: 1.395 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.5139, allocations: 180.3 kB / 1.532 GB, free: 1.215 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.5139, allocations: 67.42 kB / 1.532 GB, free: 1.148 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.514, allocations: 45.7 kB / 1.532 GB, free: 1.098 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5141, allocations: 338.8 kB / 1.532 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.5143, allocations: 67.95 kB / 1.532 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5145, allocations: 134.1 kB / 1.532 GB, free: 0.543 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.5148, allocations: 191.4 kB / 1.532 GB, free: 348 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5148, allocations: 7.938 kB / 1.532 GB, free: 340 kB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004526/0.5153, allocations: 257.3 kB / 1.533 GB, free: 76 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5153, allocations: 8 kB / 1.533 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5153, allocations: 3.984 kB / 1.533 GB, free: 64 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5153, allocations: 4 kB / 1.533 GB, free: 60 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.5155, allocations: 39.92 kB / 1.533 GB, free: 20 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5155, allocations: 4 kB / 1.533 GB, free: 16 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.5157, allocations: 35.94 kB / 1.533 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.5158, allocations: 12 kB / 1.533 GB, free: 15.96 MB / 1.232 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.0001491/0.5159, allocations: 162.3 kB / 1.533 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.516, allocations: 35.75 kB / 1.533 GB, free: 15.76 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.5164, allocations: 230.5 kB / 1.533 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5164, allocations: 0 / 1.533 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5164, allocations: 0 / 1.533 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5164, allocations: 0 / 1.533 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.5175, allocations: 0.6864 MB / 1.534 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5175, allocations: 4 kB / 1.534 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.5176, allocations: 31.92 kB / 1.534 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.5176, allocations: 7.984 kB / 1.534 GB, free: 14.73 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.5177, allocations: 4 kB / 1.534 GB, free: 14.73 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.5177, allocations: 7.938 kB / 1.534 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5177, allocations: 0 / 1.534 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.5183, allocations: 455.1 kB / 1.534 GB, free: 14.24 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.5184, allocations: 47.89 kB / 1.534 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.5184, allocations: 11.98 kB / 1.534 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.5186, allocations: 11.94 kB / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.5187, allocations: 19.91 kB / 1.534 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.5187, allocations: 8 kB / 1.534 GB, free: 14.14 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002202/0.5189, allocations: 227 kB / 1.535 GB, free: 13.92 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5189, allocations: 0 / 1.535 GB, free: 13.92 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000372/0.5193, allocations: 91.83 kB / 1.535 GB, free: 13.83 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.0002354/0.5195, allocations: 147.1 kB / 1.535 GB, free: 13.67 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.5199, allocations: 175.7 kB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5199, allocations: 4 kB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.5201, allocations: 88.02 kB / 1.535 GB, free: 13.41 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.5209, allocations: 166 kB / 1.535 GB, free: 13.25 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/0.5219, allocations: 0.6619 MB / 1.536 GB, free: 12.54 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.5223, allocations: 0.7834 MB / 1.537 GB, free: 11.73 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.5224, allocations: 31.44 kB / 1.537 GB, free: 11.7 MB / 1.232 GB Notification: Performance of SimCode: time 3.01e-07/0.5224, allocations: 0 / 1.537 GB, free: 11.7 MB / 1.232 GB Notification: Performance of Templates: time 0.007419/0.5298, allocations: 4.971 MB / 1.542 GB, free: 6.773 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.255187948001549]