Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001971/0.001971, 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.00159/0.00159, allocations: 189.5 kB / 22.23 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.525/1.525, 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.761/2.761, allocations: 476.7 MB / 0.7646 GB, free: 9.898 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate")
translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 68.03 kB / 1.11 GB, free: 6.328 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9179, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2258/1.144, allocations: 168.3 MB / 1.439 GB, free: 11.32 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.009331/1.153, allocations: 6.623 MB / 1.445 GB, free: 4.676 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006903/1.154, allocations: 19.81 kB / 1.445 GB, free: 4.656 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006944/1.154, allocations: 182.7 kB / 1.445 GB, free: 4.477 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.002679/1.157, allocations: 0.883 MB / 1.446 GB, free: 3.59 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001133/1.158, allocations: 345.8 kB / 1.447 GB, free: 3.254 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.001116/1.159, allocations: 0.7406 MB / 1.447 GB, free: 2.508 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/1.16, allocations: 218.9 kB / 1.447 GB, free: 2.297 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001535/1.161, allocations: 0.5799 MB / 1.448 GB, free: 1.715 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/1.162, allocations: 282.9 kB / 1.448 GB, free: 1.438 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 4.855e-05/1.162, allocations: 24 kB / 1.448 GB, free: 1.414 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008624/1.163, allocations: 375.1 kB / 1.449 GB, free: 1.047 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001557/1.163, allocations: 107.6 kB / 1.449 GB, free: 0.9414 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002318/1.163, allocations: 167.1 kB / 1.449 GB, free: 0.7773 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0009334/1.164, allocations: 469.1 kB / 1.449 GB, free: 328 kB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.164, allocations: 0 / 1.449 GB, free: 328 kB / 1.139 GB
Notification: Performance of FrontEnd: time 1.613e-06/1.164, allocations: 0 / 1.449 GB, free: 328 kB / 1.139 GB
Notification: Performance of Transformations before backend: time 8.636e-06/1.164, allocations: 0 / 1.449 GB, free: 328 kB / 1.139 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 63
 * Number of variables: 63
Notification: Performance of Generate backend data structure: time 0.001096/1.165, allocations: 0.5516 MB / 1.45 GB, free: 15.74 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.165, allocations: 12.03 kB / 1.45 GB, free: 15.73 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/1.166, allocations: 63.72 kB / 1.45 GB, free: 15.66 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/1.166, allocations: 263.5 kB / 1.45 GB, free: 15.38 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/1.166, allocations: 24.66 kB / 1.45 GB, free: 15.35 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/1.166, allocations: 24 kB / 1.45 GB, free: 15.33 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/1.167, allocations: 316.9 kB / 1.451 GB, free: 14.99 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/1.167, allocations: 0 / 1.451 GB, free: 14.99 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/1.167, allocations: 16 kB / 1.451 GB, free: 14.98 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.167, allocations: 4 kB / 1.451 GB, free: 14.97 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/1.168, allocations: 209.4 kB / 1.451 GB, free: 14.77 MB / 1.154 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.001882/1.169, allocations: 1.488 MB / 1.452 GB, free: 13.15 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/1.17, allocations: 122.4 kB / 1.452 GB, free: 13.02 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/1.17, allocations: 88.8 kB / 1.452 GB, free: 12.93 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/1.17, allocations: 71.91 kB / 1.453 GB, free: 12.86 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.17, allocations: 38.55 kB / 1.453 GB, free: 12.82 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=13): time 1.352e-06/1.17, allocations: 0 / 1.453 GB, free: 12.82 MB / 1.154 GB
Notification: Performance of matching and sorting (n=13): time 0.0008165/1.171, allocations: 277.6 kB / 1.453 GB, free: 12.54 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.171, allocations: 51.41 kB / 1.453 GB, free: 12.48 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/1.172, allocations: 312.5 kB / 1.453 GB, free: 12.16 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 2.922e-05/1.172, allocations: 29.7 kB / 1.453 GB, free: 12.13 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001544/1.172, allocations: 180.2 kB / 1.453 GB, free: 11.95 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/1.172, allocations: 47.58 kB / 1.453 GB, free: 11.9 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/1.172, allocations: 41.66 kB / 1.453 GB, free: 11.86 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001764/1.172, allocations: 334.8 kB / 1.454 GB, free: 11.52 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.172, allocations: 59.95 kB / 1.454 GB, free: 11.46 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/1.173, allocations: 119.2 kB / 1.454 GB, free: 11.33 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/1.173, allocations: 184.9 kB / 1.454 GB, free: 11.13 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.173, allocations: 3.938 kB / 1.454 GB, free: 11.12 MB / 1.154 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004751/1.173, allocations: 217.2 kB / 1.454 GB, free: 10.91 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.173, allocations: 4 kB / 1.454 GB, free: 10.9 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.173, allocations: 4.156 kB / 1.454 GB, free: 10.9 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.173, allocations: 8.031 kB / 1.454 GB, free: 10.89 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/1.174, allocations: 31.98 kB / 1.454 GB, free: 10.86 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.174, allocations: 3.984 kB / 1.454 GB, free: 10.86 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/1.174, allocations: 27.83 kB / 1.454 GB, free: 10.83 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/1.174, allocations: 11.98 kB / 1.454 GB, free: 10.82 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 (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 prepare postOptimizeDAE: time 0.0001876/1.174, allocations: 159.8 kB / 1.455 GB, free: 10.65 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/1.174, allocations: 27.81 kB / 1.455 GB, free: 10.62 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/1.175, allocations: 209.8 kB / 1.455 GB, free: 10.41 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.175, allocations: 4 kB / 1.455 GB, free: 10.41 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.175, allocations: 3.984 kB / 1.455 GB, free: 10.41 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.175, allocations: 3.938 kB / 1.455 GB, free: 10.4 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/1.176, allocations: 0.6475 MB / 1.455 GB, free: 9.684 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/1.176, allocations: 4 kB / 1.455 GB, free: 9.68 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/1.176, allocations: 27.97 kB / 1.455 GB, free: 9.652 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/1.176, allocations: 4 kB / 1.455 GB, free: 9.648 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/1.176, allocations: 4.281 kB / 1.455 GB, free: 9.645 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.176, allocations: 15.88 kB / 1.456 GB, free: 9.629 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.176, allocations: 4 kB / 1.456 GB, free: 9.625 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/1.177, allocations: 333.2 kB / 1.456 GB, free: 9.262 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/1.177, allocations: 51.67 kB / 1.456 GB, free: 9.211 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/1.177, allocations: 4 kB / 1.456 GB, free: 9.207 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/1.177, allocations: 11.92 kB / 1.456 GB, free: 9.195 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/1.177, allocations: 19.98 kB / 1.456 GB, free: 9.176 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/1.177, allocations: 4 kB / 1.456 GB, free: 9.172 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0003395/1.177, allocations: 227 kB / 1.456 GB, free: 8.953 MB / 1.154 GB
Notification: Performance of sort global known variables: time 9e-08/1.177, allocations: 0 / 1.456 GB, free: 8.953 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0004083/1.178, allocations: 71.83 kB / 1.456 GB, free: 8.883 MB / 1.154 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * 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 simulation (13):
 * Single equations (assignments): 13
 * 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.0005037/1.178, allocations: 152.1 kB / 1.456 GB, free: 8.73 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0004532/1.179, allocations: 155.8 kB / 1.456 GB, free: 8.578 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.179, allocations: 320 / 1.456 GB, free: 8.578 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001967/1.179, allocations: 79.89 kB / 1.457 GB, free: 8.5 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/1.18, allocations: 156.2 kB / 1.457 GB, free: 8.352 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.181, allocations: 0.5368 MB / 1.457 GB, free: 7.762 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/1.182, allocations: 0.7872 MB / 1.458 GB, free: 6.945 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0002036/1.182, allocations: 58.94 kB / 1.458 GB, free: 6.887 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.182, allocations: 23.44 kB / 1.458 GB, free: 6.863 MB / 1.154 GB
Notification: Performance of SimCode: time 4.01e-07/1.182, allocations: 0 / 1.458 GB, free: 6.863 MB / 1.154 GB
Notification: Performance of Templates: time 0.01305/1.195, allocations: 5.256 MB / 1.463 GB, free: 1.688 MB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.530139369890094]