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.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.001363/0.001363, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001489/0.001489, allocations: 189 kB / 22.1 MB, free: 4.246 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.494/1.494, allocations: 225.6 MB / 250.8 MB, free: 2.676 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.993/2.993, allocations: 495.8 MB / 0.783 GB, free: 12.26 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: 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: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.88 kB / 1.137 GB, free: 12.19 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.21/1.212, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2639/1.476, allocations: 166.3 MB / 1.469 GB, free: 9.539 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.005189/1.481, allocations: 1.559 MB / 1.471 GB, free: 8.445 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006055/1.482, allocations: 15.03 kB / 1.471 GB, free: 8.438 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007655/1.482, allocations: 157.7 kB / 1.471 GB, free: 8.332 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.00331/1.486, allocations: 0.7447 MB / 1.472 GB, free: 7.941 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003266/1.489, allocations: 0.6374 MB / 1.472 GB, free: 7.625 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002153/1.491, allocations: 0.727 MB / 1.473 GB, free: 7.289 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006442/1.492, allocations: 192.3 kB / 1.473 GB, free: 7.152 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002007/1.494, allocations: 0.5143 MB / 1.474 GB, free: 6.84 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/1.494, allocations: 237.1 kB / 1.474 GB, free: 6.695 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 6.336e-05/1.494, allocations: 23.84 kB / 1.474 GB, free: 6.695 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002762/1.497, allocations: 0.7165 MB / 1.475 GB, free: 6.289 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002371/1.497, allocations: 106.1 kB / 1.475 GB, free: 6.219 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003126/1.498, allocations: 177.3 kB / 1.475 GB, free: 6.109 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.001778/1.499, allocations: 0.6995 MB / 1.476 GB, free: 5.699 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.499, allocations: 0 / 1.476 GB, free: 5.699 MB / 1.154 GB
Notification: Performance of FrontEnd: time 2.194e-06/1.499, allocations: 0 / 1.476 GB, free: 5.699 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 1.586e-05/1.499, allocations: 0 / 1.476 GB, free: 5.699 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.001476/1.501, allocations: 0.601 MB / 1.476 GB, free: 5.191 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.501, allocations: 9.719 kB / 1.476 GB, free: 5.191 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/1.503, allocations: 160.3 kB / 1.476 GB, free: 5.113 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/1.504, allocations: 261.7 kB / 1.477 GB, free: 4.887 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/1.504, allocations: 18.47 kB / 1.477 GB, free: 4.879 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/1.504, allocations: 30.94 kB / 1.477 GB, free: 4.863 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/1.505, allocations: 280 kB / 1.477 GB, free: 4.672 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.505, allocations: 0 / 1.477 GB, free: 4.672 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/1.505, allocations: 10.41 kB / 1.477 GB, free: 4.664 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/1.505, allocations: 6.281 kB / 1.477 GB, free: 4.664 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/1.505, allocations: 205.9 kB / 1.477 GB, free: 4.57 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/1.508, allocations: 1.19 MB / 1.478 GB, free: 3.477 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/1.508, allocations: 143.9 kB / 1.478 GB, free: 3.391 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/1.508, allocations: 93.77 kB / 1.478 GB, free: 3.344 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006876/1.509, allocations: 68.3 kB / 1.479 GB, free: 3.32 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/1.509, allocations: 40.81 kB / 1.479 GB, free: 3.273 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=17): time 1.773e-06/1.509, allocations: 0 / 1.479 GB, free: 3.273 MB / 1.154 GB
Notification: Performance of matching and sorting (n=17): time 0.001247/1.51, allocations: 301 kB / 1.479 GB, free: 3.117 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/1.51, allocations: 54.12 kB / 1.479 GB, free: 3.055 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/1.511, allocations: 327.9 kB / 1.479 GB, free: 2.844 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 3.951e-05/1.511, allocations: 30.8 kB / 1.479 GB, free: 2.809 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002164/1.511, allocations: 185 kB / 1.479 GB, free: 2.641 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/1.511, allocations: 58.05 kB / 1.479 GB, free: 2.59 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/1.511, allocations: 44.08 kB / 1.48 GB, free: 2.559 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.000221/1.512, allocations: 342.9 kB / 1.48 GB, free: 2.223 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/1.512, allocations: 68.2 kB / 1.48 GB, free: 2.191 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/1.512, allocations: 126.7 kB / 1.48 GB, free: 2.102 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/1.513, allocations: 208 kB / 1.48 GB, free: 1.965 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.513, allocations: 3.938 kB / 1.48 GB, free: 1.961 MB / 1.154 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007879/1.514, allocations: 252.5 kB / 1.48 GB, free: 1.824 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/1.514, allocations: 9.875 kB / 1.48 GB, free: 1.82 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.514, allocations: 1.094 kB / 1.48 GB, free: 1.82 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.514, allocations: 3.312 kB / 1.48 GB, free: 1.82 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/1.514, allocations: 38.11 kB / 1.481 GB, free: 1.816 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.514, allocations: 6.312 kB / 1.481 GB, free: 1.812 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/1.514, allocations: 34.55 kB / 1.481 GB, free: 1.789 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/1.514, allocations: 7.5 kB / 1.481 GB, free: 1.789 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.0002468/1.515, allocations: 168 kB / 1.481 GB, free: 1.633 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/1.515, allocations: 34.48 kB / 1.481 GB, free: 1.613 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007791/1.516, allocations: 229.3 kB / 1.481 GB, free: 1.477 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.516, allocations: 6.266 kB / 1.481 GB, free: 1.473 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.516, allocations: 0 / 1.481 GB, free: 1.473 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.516, allocations: 1.281 kB / 1.481 GB, free: 1.473 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.517, allocations: 0.6813 MB / 1.482 GB, free: 0.9102 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.517, allocations: 2.219 kB / 1.482 GB, free: 0.9102 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/1.518, allocations: 35.06 kB / 1.482 GB, free: 0.9023 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/1.518, allocations: 6.781 kB / 1.482 GB, free: 0.8984 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/1.518, allocations: 6.75 kB / 1.482 GB, free: 0.8945 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/1.518, allocations: 11.19 kB / 1.482 GB, free: 0.8867 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.518, allocations: 6.219 kB / 1.482 GB, free: 0.8828 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/1.519, allocations: 449.4 kB / 1.482 GB, free: 0.5508 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/1.519, allocations: 56.22 kB / 1.482 GB, free: 0.5117 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/1.519, allocations: 6.5 kB / 1.482 GB, free: 0.5078 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/1.519, allocations: 13.66 kB / 1.482 GB, free: 0.5 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/1.519, allocations: 18.16 kB / 1.482 GB, free: 500 kB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/1.519, allocations: 6.281 kB / 1.482 GB, free: 500 kB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0003909/1.52, allocations: 232.8 kB / 1.482 GB, free: 348 kB / 1.154 GB
Notification: Performance of sort global known variables: time 1.2e-07/1.52, allocations: 0 / 1.482 GB, free: 348 kB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0007506/1.521, allocations: 80.42 kB / 1.483 GB, free: 336 kB / 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.0005864/1.521, allocations: 170.7 kB / 1.483 GB, free: 204 kB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.000702/1.522, allocations: 173.5 kB / 1.483 GB, free: 128 kB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.522, allocations: 0 / 1.483 GB, free: 128 kB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003187/1.522, allocations: 89.8 kB / 1.483 GB, free: 88 kB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.524, allocations: 171.3 kB / 1.483 GB, free: 15.99 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/1.525, allocations: 0.6415 MB / 1.484 GB, free: 15.52 MB / 1.17 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/1.525, allocations: 0.7828 MB / 1.484 GB, free: 14.77 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 0.0002229/1.526, allocations: 61.86 kB / 1.485 GB, free: 14.75 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/1.526, allocations: 29.47 kB / 1.485 GB, free: 14.73 MB / 1.17 GB
Notification: Performance of SimCode: time 6.01e-07/1.526, allocations: 0 / 1.485 GB, free: 14.73 MB / 1.17 GB
Notification: Performance of Templates: time 0.01394/1.54, allocations: 6.011 MB / 1.49 GB, free: 11.77 MB / 1.17 GB
"
[Timeout remaining time 298]
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/jenkins/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: 10.145207884721458]