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.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.001789/0.001789, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002122/0.002122, allocations: 188.3 kB / 22.22 MB, free: 5.102 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.594/1.594, allocations: 225.6 MB / 251 MB, free: 13.04 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 3.016/3.016, allocations: 476.7 MB / 0.7646 GB, free: 10.01 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.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_11_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_11_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.89 kB / 1.11 GB, free: 6.312 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9635/0.9656, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2091/1.175, allocations: 168.1 MB / 1.439 GB, free: 11.44 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.003325/1.178, allocations: 1.565 MB / 1.44 GB, free: 9.871 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/1.178, allocations: 11.88 kB / 1.44 GB, free: 9.859 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005541/1.179, allocations: 162.7 kB / 1.44 GB, free: 9.699 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.002067/1.181, allocations: 0.743 MB / 1.441 GB, free: 8.953 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001641/1.183, allocations: 0.6447 MB / 1.442 GB, free: 8.309 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.0009336/1.184, allocations: 0.7332 MB / 1.442 GB, free: 7.57 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/1.184, allocations: 197 kB / 1.443 GB, free: 7.375 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/1.185, allocations: 354.7 kB / 1.443 GB, free: 7.027 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/1.185, allocations: 239 kB / 1.443 GB, free: 6.793 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 4.206e-05/1.185, allocations: 27.94 kB / 1.443 GB, free: 6.766 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001701/1.187, allocations: 0.9429 MB / 1.444 GB, free: 5.82 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001476/1.187, allocations: 107.7 kB / 1.444 GB, free: 5.715 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001963/1.187, allocations: 175.1 kB / 1.444 GB, free: 5.543 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.001211/1.188, allocations: 0.7345 MB / 1.445 GB, free: 4.812 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.188, allocations: 0 / 1.445 GB, free: 4.812 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.873e-06/1.188, allocations: 0 / 1.445 GB, free: 4.812 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 1.437e-05/1.188, allocations: 0 / 1.445 GB, free: 4.812 MB / 1.139 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.001083/1.189, allocations: 0.6056 MB / 1.446 GB, free: 4.172 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.189, allocations: 8.031 kB / 1.446 GB, free: 4.164 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/1.191, allocations: 159.6 kB / 1.446 GB, free: 4.008 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/1.191, allocations: 272.5 kB / 1.446 GB, free: 3.719 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/1.191, allocations: 12.5 kB / 1.446 GB, free: 3.707 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/1.191, allocations: 31.94 kB / 1.446 GB, free: 3.676 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/1.192, allocations: 277 kB / 1.446 GB, free: 3.387 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.192, allocations: 4 kB / 1.446 GB, free: 3.383 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/1.192, allocations: 8 kB / 1.446 GB, free: 3.375 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/1.192, allocations: 8 kB / 1.446 GB, free: 3.367 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/1.192, allocations: 204.9 kB / 1.447 GB, free: 3.168 MB / 1.139 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.001593/1.194, allocations: 1.184 MB / 1.448 GB, free: 1.887 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/1.194, allocations: 146.4 kB / 1.448 GB, free: 1.734 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/1.195, allocations: 88.8 kB / 1.448 GB, free: 1.645 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/1.195, allocations: 84.16 kB / 1.448 GB, free: 1.562 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.195, allocations: 30.56 kB / 1.448 GB, free: 1.523 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=17): time 1.413e-06/1.195, allocations: 0 / 1.448 GB, free: 1.523 MB / 1.139 GB
Notification: Performance of matching and sorting (n=17): time 0.0009108/1.196, allocations: 299.1 kB / 1.448 GB, free: 1.227 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/1.196, allocations: 55.34 kB / 1.448 GB, free: 1.16 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/1.196, allocations: 328.5 kB / 1.449 GB, free: 0.8359 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 3.218e-05/1.197, allocations: 29.7 kB / 1.449 GB, free: 0.8008 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001914/1.197, allocations: 184.2 kB / 1.449 GB, free: 0.6172 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/1.197, allocations: 59.48 kB / 1.449 GB, free: 0.5586 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/1.197, allocations: 45.7 kB / 1.449 GB, free: 0.5078 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0002482/1.197, allocations: 342.8 kB / 1.449 GB, free: 168 kB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/1.197, allocations: 67.95 kB / 1.449 GB, free: 100 kB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/1.198, allocations: 127.9 kB / 1.449 GB, free: 15.96 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/1.198, allocations: 199.6 kB / 1.45 GB, free: 15.75 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.198, allocations: 3.938 kB / 1.45 GB, free: 15.74 MB / 1.154 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005474/1.199, allocations: 257.3 kB / 1.45 GB, free: 15.48 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.199, allocations: 4 kB / 1.45 GB, free: 15.48 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.199, allocations: 7.938 kB / 1.45 GB, free: 15.47 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/1.199, allocations: 0 / 1.45 GB, free: 15.47 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.199, allocations: 43.98 kB / 1.45 GB, free: 15.43 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.199, allocations: 4 kB / 1.45 GB, free: 15.43 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/1.199, allocations: 27.77 kB / 1.45 GB, free: 15.4 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/1.199, allocations: 12 kB / 1.45 GB, free: 15.39 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.0002026/1.199, allocations: 161.7 kB / 1.45 GB, free: 15.22 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/1.199, allocations: 31.77 kB / 1.45 GB, free: 15.19 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/1.2, allocations: 234.7 kB / 1.45 GB, free: 14.95 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.2, allocations: 4 kB / 1.45 GB, free: 14.95 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.2, allocations: 0 / 1.45 GB, free: 14.95 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.2, allocations: 3.938 kB / 1.45 GB, free: 14.94 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/1.201, allocations: 0.6786 MB / 1.451 GB, free: 14.19 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.201, allocations: 0 / 1.451 GB, free: 14.19 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/1.201, allocations: 40.19 kB / 1.451 GB, free: 14.15 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-06/1.201, allocations: 8.141 kB / 1.451 GB, free: 14.14 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/1.201, allocations: 0 / 1.451 GB, free: 14.14 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/1.201, allocations: 7.938 kB / 1.451 GB, free: 14.14 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.201, allocations: 7.938 kB / 1.451 GB, free: 14.13 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/1.202, allocations: 461 kB / 1.452 GB, free: 13.64 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000103/1.202, allocations: 51.72 kB / 1.452 GB, free: 13.59 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/1.202, allocations: 4 kB / 1.452 GB, free: 13.59 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/1.202, allocations: 16 kB / 1.452 GB, free: 13.57 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/1.202, allocations: 15.97 kB / 1.452 GB, free: 13.55 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/1.202, allocations: 12 kB / 1.452 GB, free: 13.54 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0002533/1.203, allocations: 231 kB / 1.452 GB, free: 13.32 MB / 1.154 GB
Notification: Performance of sort global known variables: time 7e-08/1.203, allocations: 0 / 1.452 GB, free: 13.32 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0003886/1.203, allocations: 83.89 kB / 1.452 GB, free: 13.23 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.0004528/1.203, allocations: 169.5 kB / 1.452 GB, free: 13.07 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0004424/1.204, allocations: 167.8 kB / 1.452 GB, free: 12.9 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.204, allocations: 4 kB / 1.452 GB, free: 12.9 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002003/1.204, allocations: 92.14 kB / 1.452 GB, free: 12.81 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/1.205, allocations: 157.8 kB / 1.453 GB, free: 12.66 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/1.206, allocations: 0.6439 MB / 1.453 GB, free: 11.97 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/1.207, allocations: 0.7834 MB / 1.454 GB, free: 11.16 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0002088/1.207, allocations: 66.92 kB / 1.454 GB, free: 11.09 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/1.207, allocations: 27.44 kB / 1.454 GB, free: 11.06 MB / 1.154 GB
Notification: Performance of SimCode: time 3.9e-07/1.207, allocations: 0 / 1.454 GB, free: 11.06 MB / 1.154 GB
Notification: Performance of Templates: time 0.01241/1.219, allocations: 5.999 MB / 1.46 GB, free: 5.156 MB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300]
(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 & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.91812281217426]