Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.002233/0.002233, 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.002768/0.002768, allocations: 188.5 kB / 22.22 MB, free: 5.105 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.56/1.56, allocations: 225.6 MB / 251 MB, free: 13.03 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 2.86/2.86, allocations: 476.7 MB / 0.7646 GB, free: 9.879 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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate")
translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 59.89 kB / 1.11 GB, free: 6.32 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.049, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2468/1.296, allocations: 168.1 MB / 1.438 GB, free: 11.5 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.003309/1.299, allocations: 1.555 MB / 1.44 GB, free: 9.938 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005008/1.299, allocations: 15.88 kB / 1.44 GB, free: 9.922 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.000614/1.3, allocations: 154.8 kB / 1.44 GB, free: 9.77 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.002272/1.302, allocations: 0.743 MB / 1.441 GB, free: 9.023 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002103/1.304, allocations: 0.6364 MB / 1.442 GB, free: 8.391 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.001028/1.305, allocations: 0.7207 MB / 1.442 GB, free: 7.664 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/1.306, allocations: 193 kB / 1.442 GB, free: 7.473 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006111/1.306, allocations: 346.8 kB / 1.443 GB, free: 7.133 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/1.307, allocations: 231 kB / 1.443 GB, free: 6.906 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 4.537e-05/1.307, allocations: 20 kB / 1.443 GB, free: 6.887 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001807/1.309, allocations: 0.9468 MB / 1.444 GB, free: 5.938 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001591/1.309, allocations: 107.6 kB / 1.444 GB, free: 5.832 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001915/1.309, allocations: 167.2 kB / 1.444 GB, free: 5.668 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.001235/1.31, allocations: 0.7267 MB / 1.445 GB, free: 4.945 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.31, allocations: 0 / 1.445 GB, free: 4.945 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.473e-06/1.31, allocations: 4 kB / 1.445 GB, free: 4.941 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 6.913e-06/1.31, allocations: 0 / 1.445 GB, free: 4.941 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: 53
 * Number of variables: 53
Notification: Performance of Generate backend data structure: time 0.001058/1.311, allocations: 0.5784 MB / 1.445 GB, free: 4.332 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.311, allocations: 8.031 kB / 1.445 GB, free: 4.324 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/1.312, allocations: 159.6 kB / 1.446 GB, free: 4.168 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/1.313, allocations: 267.9 kB / 1.446 GB, free: 3.879 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/1.313, allocations: 16.44 kB / 1.446 GB, free: 3.863 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/1.313, allocations: 20 kB / 1.446 GB, free: 3.844 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/1.314, allocations: 283.4 kB / 1.446 GB, free: 3.547 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.314, allocations: 3.938 kB / 1.446 GB, free: 3.543 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/1.314, allocations: 8 kB / 1.446 GB, free: 3.535 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.314, allocations: 4 kB / 1.446 GB, free: 3.531 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/1.314, allocations: 207.7 kB / 1.446 GB, free: 3.328 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.001633/1.316, allocations: 1.167 MB / 1.448 GB, free: 2.066 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/1.316, allocations: 134.4 kB / 1.448 GB, free: 1.926 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/1.316, allocations: 88.8 kB / 1.448 GB, free: 1.836 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004995/1.317, allocations: 75.91 kB / 1.448 GB, free: 1.762 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/1.317, allocations: 42.44 kB / 1.448 GB, free: 1.711 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=15): time 1.453e-06/1.317, allocations: 0 / 1.448 GB, free: 1.711 MB / 1.139 GB
Notification: Performance of matching and sorting (n=15): time 0.000832/1.318, allocations: 284.4 kB / 1.448 GB, free: 1.43 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/1.318, allocations: 55.41 kB / 1.448 GB, free: 1.363 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/1.318, allocations: 316.5 kB / 1.448 GB, free: 1.051 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.318, allocations: 29.7 kB / 1.449 GB, free: 1.016 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001683/1.318, allocations: 180.3 kB / 1.449 GB, free: 0.832 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/1.318, allocations: 63.42 kB / 1.449 GB, free: 0.7695 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/1.318, allocations: 41.7 kB / 1.449 GB, free: 0.7227 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001647/1.318, allocations: 342.8 kB / 1.449 GB, free: 388 kB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/1.319, allocations: 63.94 kB / 1.449 GB, free: 324 kB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/1.319, allocations: 125 kB / 1.449 GB, free: 180 kB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/1.319, allocations: 181.1 kB / 1.449 GB, free: 15.98 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.319, allocations: 7.938 kB / 1.449 GB, free: 15.97 MB / 1.154 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005157/1.32, allocations: 241.3 kB / 1.45 GB, free: 15.73 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.32, allocations: 9.969 kB / 1.45 GB, free: 15.72 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.32, allocations: 0 / 1.45 GB, free: 15.72 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.32, allocations: 4 kB / 1.45 GB, free: 15.71 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/1.32, allocations: 43.91 kB / 1.45 GB, free: 15.67 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.32, allocations: 4 kB / 1.45 GB, free: 15.67 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/1.32, allocations: 27.83 kB / 1.45 GB, free: 15.64 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/1.32, allocations: 8 kB / 1.45 GB, free: 15.63 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 (22):
 * Single equations (assignments): 22
 * 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.0001583/1.321, allocations: 153.7 kB / 1.45 GB, free: 15.47 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/1.321, allocations: 35.81 kB / 1.45 GB, free: 15.44 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/1.321, allocations: 212.3 kB / 1.45 GB, free: 15.22 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.321, allocations: 4 kB / 1.45 GB, free: 15.21 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.321, allocations: 0 / 1.45 GB, free: 15.21 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.321, allocations: 3.984 kB / 1.45 GB, free: 15.21 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/1.322, allocations: 0.6707 MB / 1.451 GB, free: 14.47 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.322, allocations: 0 / 1.451 GB, free: 14.47 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/1.322, allocations: 27.98 kB / 1.451 GB, free: 14.45 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.322, allocations: 8.156 kB / 1.451 GB, free: 14.44 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.322, allocations: 12 kB / 1.451 GB, free: 14.43 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/1.322, allocations: 3.938 kB / 1.451 GB, free: 14.42 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.322, allocations: 4 kB / 1.451 GB, free: 14.42 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/1.323, allocations: 433.1 kB / 1.451 GB, free: 13.96 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.323, allocations: 43.8 kB / 1.451 GB, free: 13.91 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/1.323, allocations: 11.92 kB / 1.451 GB, free: 13.9 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/1.324, allocations: 8 kB / 1.451 GB, free: 13.89 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/1.324, allocations: 20.03 kB / 1.451 GB, free: 13.88 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/1.324, allocations: 4 kB / 1.451 GB, free: 13.87 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.000248/1.324, allocations: 223.1 kB / 1.452 GB, free: 13.66 MB / 1.154 GB
Notification: Performance of sort global known variables: time 9.1e-08/1.324, allocations: 3.938 kB / 1.452 GB, free: 13.65 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0004209/1.324, allocations: 87.88 kB / 1.452 GB, free: 13.57 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 (15):
 * Single equations (assignments): 15
 * 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.0004281/1.325, allocations: 176.5 kB / 1.452 GB, free: 13.39 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0004947/1.325, allocations: 167.7 kB / 1.452 GB, free: 13.23 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.325, allocations: 0 / 1.452 GB, free: 13.23 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.000221/1.325, allocations: 88.45 kB / 1.452 GB, free: 13.14 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/1.326, allocations: 163.1 kB / 1.452 GB, free: 12.98 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/1.327, allocations: 0.6121 MB / 1.453 GB, free: 12.32 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/1.328, allocations: 0.7756 MB / 1.454 GB, free: 11.52 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0002454/1.328, allocations: 62.92 kB / 1.454 GB, free: 11.46 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/1.328, allocations: 23.44 kB / 1.454 GB, free: 11.43 MB / 1.154 GB
Notification: Performance of SimCode: time 3.21e-07/1.328, allocations: 0 / 1.454 GB, free: 11.43 MB / 1.154 GB
Notification: Performance of Templates: time 0.01229/1.341, allocations: 5.917 MB / 1.459 GB, free: 5.613 MB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.79443213250488]