Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001365/0.001365, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001476/0.001476, allocations: 210 kB / 23 MB, free: 4.934 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_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.001981/0.001981, allocations: 69.55 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1922/0.5094, allocations: 147.7 MB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.5125, allocations: 1.494 MB / 1.473 GB, free: 11.24 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.5127, allocations: 19.81 kB / 1.473 GB, free: 11.22 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.5132, allocations: 150.9 kB / 1.473 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.515, allocations: 0.7079 MB / 1.474 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.5165, allocations: 0.631 MB / 1.474 GB, free: 9.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008774/0.5174, allocations: 0.7331 MB / 1.475 GB, free: 8.996 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.5177, allocations: 189.1 kB / 1.475 GB, free: 8.805 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5189, allocations: 0.5216 MB / 1.476 GB, free: 8.281 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.5192, allocations: 239 kB / 1.476 GB, free: 8.047 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.5192, allocations: 24 kB / 1.476 GB, free: 8.023 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.5205, allocations: 0.7129 MB / 1.477 GB, free: 7.309 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.5207, allocations: 115.6 kB / 1.477 GB, free: 7.195 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.5208, allocations: 147.3 kB / 1.477 GB, free: 7.051 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.5219, allocations: 0.7008 MB / 1.478 GB, free: 6.348 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5219, allocations: 0 / 1.478 GB, free: 6.348 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5219, allocations: 4 kB / 1.478 GB, free: 6.344 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.5219, allocations: 0 / 1.478 GB, free: 6.344 MB / 1.17 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.001082/0.523, allocations: 0.5979 MB / 1.478 GB, free: 5.711 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5231, allocations: 8.031 kB / 1.478 GB, free: 5.703 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.5243, allocations: 163.6 kB / 1.478 GB, free: 5.543 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.5249, allocations: 268.5 kB / 1.479 GB, free: 5.258 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.5249, allocations: 12.5 kB / 1.479 GB, free: 5.246 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.5249, allocations: 27.94 kB / 1.479 GB, free: 5.219 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.5255, allocations: 281 kB / 1.479 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5255, allocations: 0 / 1.479 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.5255, allocations: 12 kB / 1.479 GB, free: 4.91 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5255, allocations: 8 kB / 1.479 GB, free: 4.902 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.526, allocations: 200.9 kB / 1.479 GB, free: 4.707 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.5274, allocations: 0.9291 MB / 1.48 GB, free: 3.73 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.5278, allocations: 142.4 kB / 1.48 GB, free: 3.582 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.528, allocations: 92.73 kB / 1.48 GB, free: 3.488 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005177/0.5285, allocations: 71.92 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.5285, allocations: 34.56 kB / 1.48 GB, free: 3.375 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.5285, allocations: 4 kB / 1.48 GB, free: 3.371 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0008402/0.5293, allocations: 295.4 kB / 1.481 GB, free: 3.078 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.5294, allocations: 51.41 kB / 1.481 GB, free: 3.016 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.5297, allocations: 260.2 kB / 1.481 GB, free: 2.75 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.5297, allocations: 29.7 kB / 1.481 GB, free: 2.715 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.5299, allocations: 192.2 kB / 1.481 GB, free: 2.523 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.5299, allocations: 75.36 kB / 1.481 GB, free: 2.449 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.53, allocations: 45.7 kB / 1.481 GB, free: 2.398 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5302, allocations: 334.8 kB / 1.482 GB, free: 2.062 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.5304, allocations: 67.95 kB / 1.482 GB, free: 1.996 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.5306, allocations: 205.2 kB / 1.482 GB, free: 1.762 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.531, allocations: 195 kB / 1.482 GB, free: 1.555 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.531, allocations: 0 / 1.482 GB, free: 1.555 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005063/0.5315, allocations: 253.1 kB / 1.482 GB, free: 1.301 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5316, allocations: 11.92 kB / 1.482 GB, free: 1.289 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5316, allocations: 0 / 1.482 GB, free: 1.289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5316, allocations: 4 kB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.5318, allocations: 43.98 kB / 1.482 GB, free: 1.242 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5318, allocations: 4.094 kB / 1.482 GB, free: 1.238 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.532, allocations: 35.77 kB / 1.482 GB, free: 1.203 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.532, allocations: 8 kB / 1.482 GB, free: 1.195 MB / 1.17 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.0001755/0.5322, allocations: 153.8 kB / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.5323, allocations: 27.8 kB / 1.482 GB, free: 1.008 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.5328, allocations: 219.8 kB / 1.483 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5328, allocations: 3.984 kB / 1.483 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5328, allocations: 0 / 1.483 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.5329, allocations: 47.73 kB / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.5329, allocations: 7.984 kB / 1.483 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.5331, allocations: 8 kB / 1.483 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.5331, allocations: 11.97 kB / 1.483 GB, free: 0.707 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005533/0.5337, allocations: 281.9 kB / 1.483 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000738/0.5344, allocations: 484 kB / 1.484 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001831/0.5346, allocations: 71.97 kB / 1.484 GB, free: 15.86 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001885/0.5348, allocations: 183.1 kB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of Backend: time 6.81e-07/0.5348, allocations: 0 / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.5359, allocations: 357.5 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of SimCode: time 0.001516/0.5374, allocations: 1.074 MB / 1.485 GB, free: 14.22 MB / 1.186 GB Notification: Performance of Templates: time 0.01371/0.5511, allocations: 7.659 MB / 1.493 GB, free: 6.668 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.005936784997175]