Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.001493/0.001493, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001535/0.001535, allocations: 190.5 kB / 22.23 MB, free: 5.133 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.331/1.331, 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 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.896/2.896, allocations: 496 MB / 0.7835 GB, free: 33.68 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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb")
translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 66.86 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3212, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2153/0.5365, allocations: 182.7 MB / 1.486 GB, free: 10.35 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.007055/0.5435, allocations: 4.507 MB / 1.49 GB, free: 5.836 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.5441, allocations: 27.75 kB / 1.49 GB, free: 5.809 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007477/0.5448, allocations: 246.1 kB / 1.49 GB, free: 5.566 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.002601/0.5474, allocations: 0.797 MB / 1.491 GB, free: 4.766 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004626/0.5521, allocations: 1.599 MB / 1.493 GB, free: 3.164 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.002101/0.5542, allocations: 1.27 MB / 1.494 GB, free: 1.891 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.5549, allocations: 357.8 kB / 1.494 GB, free: 1.531 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.5568, allocations: 0.8369 MB / 1.495 GB, free: 0.6914 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005561/0.5573, allocations: 418.3 kB / 1.496 GB, free: 288 kB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.5574, allocations: 48 kB / 1.496 GB, free: 240 kB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.5606, allocations: 1.66 MB / 1.497 GB, free: 14.57 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.5609, allocations: 195.4 kB / 1.497 GB, free: 14.38 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.5612, allocations: 306.5 kB / 1.498 GB, free: 14.08 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.00217/0.5634, allocations: 1.304 MB / 1.499 GB, free: 12.77 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.5634, allocations: 3.984 kB / 1.499 GB, free: 12.77 MB / 1.201 GB
Notification: Performance of FrontEnd: time 1.462e-06/0.5634, allocations: 4 kB / 1.499 GB, free: 12.76 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 8.726e-06/0.5634, allocations: 4 kB / 1.499 GB, free: 12.76 MB / 1.201 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 100
 * Number of variables: 100
Notification: Performance of Generate backend data structure: time 0.001713/0.5651, allocations: 0.9624 MB / 1.5 GB, free: 11.75 MB / 1.201 GB
Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5652, allocations: 8.922 kB / 1.5 GB, free: 11.75 MB / 1.201 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.5671, allocations: 283.3 kB / 1.5 GB, free: 11.47 MB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007963/0.5679, allocations: 410.6 kB / 1.501 GB, free: 11.04 MB / 1.201 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.5679, allocations: 33 kB / 1.501 GB, free: 11.01 MB / 1.201 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.568, allocations: 40 kB / 1.501 GB, free: 10.97 MB / 1.201 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.5691, allocations: 0.5468 MB / 1.501 GB, free: 10.39 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5691, allocations: 7.922 kB / 1.501 GB, free: 10.38 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.5691, allocations: 16 kB / 1.501 GB, free: 10.36 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5691, allocations: 19.88 kB / 1.501 GB, free: 10.34 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5702, allocations: 455.6 kB / 1.502 GB, free: 9.902 MB / 1.201 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.5729, allocations: 2.081 MB / 1.504 GB, free: 7.695 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.5738, allocations: 394.4 kB / 1.504 GB, free: 7.301 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.5743, allocations: 220.6 kB / 1.504 GB, free: 7.082 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.5749, allocations: 83.91 kB / 1.504 GB, free: 7 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006181/0.5755, allocations: 299 kB / 1.505 GB, free: 6.695 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=37): time 3.166e-06/0.5755, allocations: 0 / 1.505 GB, free: 6.695 MB / 1.201 GB
Notification: Performance of matching and sorting (n=37): time 0.001795/0.5773, allocations: 0.6867 MB / 1.505 GB, free: 6.004 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.5773, allocations: 55.41 kB / 1.505 GB, free: 5.938 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.578, allocations: 498 kB / 1.506 GB, free: 5.438 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.578, allocations: 37.7 kB / 1.506 GB, free: 5.395 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.5782, allocations: 268.4 kB / 1.506 GB, free: 5.129 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.5784, allocations: 126.9 kB / 1.506 GB, free: 5.004 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.5785, allocations: 90.12 kB / 1.506 GB, free: 4.906 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001913/0.5787, allocations: 366.7 kB / 1.507 GB, free: 4.539 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.5792, allocations: 192.8 kB / 1.507 GB, free: 4.352 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.5798, allocations: 319.7 kB / 1.507 GB, free: 4 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.5808, allocations: 0.5416 MB / 1.508 GB, free: 3.406 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5808, allocations: 0 / 1.508 GB, free: 3.406 MB / 1.201 GB
Notification: Performance of matching and sorting (n=55) (initialization): time 0.001272/0.5821, allocations: 0.6488 MB / 1.508 GB, free: 2.738 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.5821, allocations: 71.39 kB / 1.508 GB, free: 2.656 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5821, allocations: 4 kB / 1.508 GB, free: 2.652 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5822, allocations: 4 kB / 1.508 GB, free: 2.648 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.5826, allocations: 99.81 kB / 1.509 GB, free: 2.551 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5826, allocations: 4 kB / 1.509 GB, free: 2.547 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.5831, allocations: 83.52 kB / 1.509 GB, free: 2.465 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.5832, allocations: 20 kB / 1.509 GB, free: 2.445 MB / 1.201 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (53):
 * Single equations (assignments): 51
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0002416/0.5834, allocations: 198.3 kB / 1.509 GB, free: 2.242 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.5835, allocations: 55.67 kB / 1.509 GB, free: 2.188 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.5847, allocations: 0.537 MB / 1.509 GB, free: 1.641 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5847, allocations: 8 kB / 1.509 GB, free: 1.633 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5847, allocations: 0 / 1.509 GB, free: 1.633 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5847, allocations: 3.984 kB / 1.509 GB, free: 1.629 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.587, allocations: 1.316 MB / 1.511 GB, free: 224 kB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.587, allocations: 12 kB / 1.511 GB, free: 212 kB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.5874, allocations: 79.83 kB / 1.511 GB, free: 132 kB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.5874, allocations: 4 kB / 1.511 GB, free: 128 kB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.5875, allocations: 15.98 kB / 1.511 GB, free: 112 kB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.5875, allocations: 4.438 kB / 1.511 GB, free: 108 kB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5875, allocations: 8 kB / 1.511 GB, free: 100 kB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.5892, allocations: 0.9252 MB / 1.512 GB, free: 15.11 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.5894, allocations: 107.4 kB / 1.512 GB, free: 15 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.5895, allocations: 16 kB / 1.512 GB, free: 14.99 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.5899, allocations: 40.02 kB / 1.512 GB, free: 14.95 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.5901, allocations: 47.86 kB / 1.512 GB, free: 14.9 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.5901, allocations: 19.98 kB / 1.512 GB, free: 14.88 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.0004508/0.5906, allocations: 342.8 kB / 1.512 GB, free: 14.55 MB / 1.217 GB
Notification: Performance of sort global known variables: time 8e-08/0.5906, allocations: 0 / 1.512 GB, free: 14.55 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.0006004/0.5912, allocations: 147.9 kB / 1.512 GB, free: 14.41 MB / 1.217 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 15
 * Number of states: 2 (temDyn.T,temDynLoss.T)
 * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count)
 * Number of discrete states: 2 (m_flow2.count,m_flow1.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (37):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.0004582/0.5916, allocations: 205.9 kB / 1.513 GB, free: 14.2 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.001195/0.5928, allocations: 0.5689 MB / 1.513 GB, free: 13.61 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5928, allocations: 3.938 kB / 1.513 GB, free: 13.61 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.5935, allocations: 280.7 kB / 1.513 GB, free: 13.33 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.5947, allocations: 278.2 kB / 1.514 GB, free: 13.07 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.5966, allocations: 1.065 MB / 1.515 GB, free: 11.93 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.5971, allocations: 0.8626 MB / 1.516 GB, free: 11.04 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.0004019/0.5975, allocations: 136.6 kB / 1.516 GB, free: 10.91 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.5976, allocations: 43.44 kB / 1.516 GB, free: 10.87 MB / 1.217 GB
Notification: Performance of SimCode: time 5.71e-07/0.5976, allocations: 0 / 1.516 GB, free: 10.87 MB / 1.217 GB
Notification: Performance of Templates: time 0.02052/0.6181, allocations: 11.15 MB / 1.527 GB, free: 15.88 MB / 1.232 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.725362027063966]