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.0015/0.0015, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001588/0.001588, allocations: 190.3 kB / 22.23 MB, free: 5.16 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.333/1.333, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.869/2.869, allocations: 496 MB / 0.7835 GB, free: 33.52 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.001926/0.001926, allocations: 76.83 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3059, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1887/0.4946, allocations: 168.2 MB / 1.472 GB, free: 8.973 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.003006/0.4976, allocations: 1.569 MB / 1.473 GB, free: 7.402 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.4978, allocations: 15.88 kB / 1.473 GB, free: 7.387 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.4983, allocations: 158.8 kB / 1.473 GB, free: 7.23 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.001787/0.5001, allocations: 0.7468 MB / 1.474 GB, free: 6.48 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.5017, allocations: 0.6385 MB / 1.475 GB, free: 5.844 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.0009109/0.5026, allocations: 0.7332 MB / 1.475 GB, free: 5.105 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.5029, allocations: 189.1 kB / 1.475 GB, free: 4.922 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.504, allocations: 0.5176 MB / 1.476 GB, free: 4.402 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.5043, allocations: 231.1 kB / 1.476 GB, free: 4.176 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.5044, allocations: 20 kB / 1.476 GB, free: 4.156 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.5059, allocations: 0.9313 MB / 1.477 GB, free: 3.223 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.506, allocations: 119.6 kB / 1.477 GB, free: 3.105 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.5062, allocations: 171.1 kB / 1.477 GB, free: 2.938 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.001047/0.5072, allocations: 0.732 MB / 1.478 GB, free: 2.203 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5072, allocations: 7.984 kB / 1.478 GB, free: 2.195 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.012e-06/0.5072, allocations: 0 / 1.478 GB, free: 2.195 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 7.484e-06/0.5072, allocations: 0 / 1.478 GB, free: 2.195 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.0009679/0.5082, allocations: 0.594 MB / 1.479 GB, free: 1.57 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5083, allocations: 12.92 kB / 1.479 GB, free: 1.559 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.5094, allocations: 159.6 kB / 1.479 GB, free: 1.402 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.5099, allocations: 264.5 kB / 1.479 GB, free: 1.113 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.5099, allocations: 20.5 kB / 1.479 GB, free: 1.094 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.51, allocations: 31.92 kB / 1.479 GB, free: 1.062 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.5105, allocations: 281.1 kB / 1.479 GB, free: 0.7656 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5105, allocations: 0 / 1.479 GB, free: 0.7656 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.5105, allocations: 15.94 kB / 1.479 GB, free: 0.75 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5105, allocations: 4 kB / 1.479 GB, free: 0.7461 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.511, allocations: 204.9 kB / 1.48 GB, free: 0.5469 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.5124, allocations: 1.177 MB / 1.481 GB, free: 15.27 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.5127, allocations: 150.4 kB / 1.481 GB, free: 15.12 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.5129, allocations: 84.81 kB / 1.481 GB, free: 15.03 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004637/0.5134, allocations: 79.89 kB / 1.481 GB, free: 14.95 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5134, allocations: 34.56 kB / 1.481 GB, free: 14.91 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.5134, allocations: 4 kB / 1.481 GB, free: 14.91 MB / 1.186 GB
Notification: Performance of matching and sorting (n=17): time 0.0007722/0.5142, allocations: 291.4 kB / 1.481 GB, free: 14.62 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.5142, allocations: 55.41 kB / 1.481 GB, free: 14.55 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.5146, allocations: 324.5 kB / 1.482 GB, free: 14.23 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5146, allocations: 29.7 kB / 1.482 GB, free: 14.19 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.5147, allocations: 184.2 kB / 1.482 GB, free: 14.01 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.5148, allocations: 63.42 kB / 1.482 GB, free: 13.95 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.5149, allocations: 45.7 kB / 1.482 GB, free: 13.89 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001542/0.515, allocations: 350.7 kB / 1.482 GB, free: 13.54 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.5152, allocations: 71.95 kB / 1.482 GB, free: 13.47 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5154, allocations: 124.1 kB / 1.483 GB, free: 13.34 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.5158, allocations: 202.6 kB / 1.483 GB, free: 13.12 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5158, allocations: 7.938 kB / 1.483 GB, free: 13.11 MB / 1.186 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.000466/0.5163, allocations: 249.2 kB / 1.483 GB, free: 12.86 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5163, allocations: 8 kB / 1.483 GB, free: 12.86 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.5163, allocations: 0 / 1.483 GB, free: 12.86 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5163, allocations: 4 kB / 1.483 GB, free: 12.85 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.5165, allocations: 48 kB / 1.483 GB, free: 12.8 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5165, allocations: 4 kB / 1.483 GB, free: 12.8 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.5167, allocations: 35.77 kB / 1.483 GB, free: 12.77 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.5167, allocations: 8 kB / 1.483 GB, free: 12.76 MB / 1.186 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.000158/0.5169, allocations: 157.6 kB / 1.483 GB, free: 12.59 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.5169, allocations: 35.77 kB / 1.483 GB, free: 12.56 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.5174, allocations: 236.5 kB / 1.484 GB, free: 12.32 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.5174, allocations: 0 / 1.484 GB, free: 12.32 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5174, allocations: 0 / 1.484 GB, free: 12.32 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5174, allocations: 0 / 1.484 GB, free: 12.32 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.5185, allocations: 0.6787 MB / 1.484 GB, free: 11.57 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5185, allocations: 4 kB / 1.484 GB, free: 11.57 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.5187, allocations: 31.92 kB / 1.484 GB, free: 11.54 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5187, allocations: 4 kB / 1.484 GB, free: 11.53 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.5187, allocations: 8 kB / 1.484 GB, free: 11.52 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.5187, allocations: 11.92 kB / 1.484 GB, free: 11.51 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5187, allocations: 0 / 1.484 GB, free: 11.51 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.5194, allocations: 455.6 kB / 1.485 GB, free: 11.03 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5195, allocations: 47.81 kB / 1.485 GB, free: 10.98 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.5196, allocations: 8 kB / 1.485 GB, free: 10.98 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.5197, allocations: 15.92 kB / 1.485 GB, free: 10.96 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.5198, allocations: 15.92 kB / 1.485 GB, free: 10.95 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.5198, allocations: 11.98 kB / 1.485 GB, free: 10.93 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0002267/0.52, allocations: 235 kB / 1.485 GB, free: 10.71 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1e-07/0.52, allocations: 0 / 1.485 GB, free: 10.71 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0004054/0.5204, allocations: 87.92 kB / 1.485 GB, free: 10.62 MB / 1.186 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.0003952/0.5208, allocations: 168.2 kB / 1.485 GB, free: 10.45 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.0004502/0.5213, allocations: 175.8 kB / 1.485 GB, free: 10.28 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5213, allocations: 0 / 1.485 GB, free: 10.28 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.5215, allocations: 87.81 kB / 1.486 GB, free: 10.2 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.5223, allocations: 173.1 kB / 1.486 GB, free: 10.03 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.5233, allocations: 0.6383 MB / 1.486 GB, free: 9.34 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.5237, allocations: 0.7795 MB / 1.487 GB, free: 8.535 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0001848/0.5239, allocations: 62.92 kB / 1.487 GB, free: 8.473 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.524, allocations: 27.44 kB / 1.487 GB, free: 8.445 MB / 1.186 GB
Notification: Performance of SimCode: time 4.71e-07/0.524, allocations: 0 / 1.487 GB, free: 8.445 MB / 1.186 GB
Notification: Performance of Templates: time 0.01225/0.5362, allocations: 5.998 MB / 1.493 GB, free: 2.543 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/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: 8.426656074821949]