Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002039/0.002039, allocations: 101.8 kB / 18.83 MB, free: 3.02 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.002236/0.002236, allocations: 191.5 kB / 22.1 MB, free: 4.031 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.537/1.537, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.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 3.003/3.003, allocations: 495.8 MB / 0.7831 GB, free: 12.24 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate")
translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.88 kB / 1.137 GB, free: 12.16 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.136, allocations: 173.6 MB / 1.307 GB, free: 33.72 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2155/1.351, allocations: 166.5 MB / 1.469 GB, free: 9.41 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.01052/1.362, allocations: 6.563 MB / 1.476 GB, free: 4.73 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008078/1.363, allocations: 20.44 kB / 1.476 GB, free: 4.719 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007013/1.363, allocations: 183 kB / 1.476 GB, free: 4.559 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002834/1.366, allocations: 0.8786 MB / 1.477 GB, free: 3.898 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001162/1.367, allocations: 343.3 kB / 1.477 GB, free: 3.645 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001036/1.368, allocations: 0.7278 MB / 1.478 GB, free: 3.219 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/1.369, allocations: 224.4 kB / 1.478 GB, free: 3.066 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001861/1.371, allocations: 0.7243 MB / 1.479 GB, free: 2.609 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/1.371, allocations: 276.5 kB / 1.479 GB, free: 2.449 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 5.188e-05/1.371, allocations: 26.94 kB / 1.479 GB, free: 2.445 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006134/1.372, allocations: 292.4 kB / 1.479 GB, free: 2.293 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001829/1.372, allocations: 106.3 kB / 1.479 GB, free: 2.223 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001965/1.372, allocations: 166.1 kB / 1.48 GB, free: 2.117 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007987/1.373, allocations: 467 kB / 1.48 GB, free: 1.824 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.373, allocations: 0 / 1.48 GB, free: 1.824 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.833e-06/1.373, allocations: 0 / 1.48 GB, free: 1.824 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 8.616e-06/1.373, allocations: 5.844 kB / 1.48 GB, free: 1.82 MB / 1.154 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.00103/1.374, allocations: 0.5486 MB / 1.481 GB, free: 1.348 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.374, allocations: 10.06 kB / 1.481 GB, free: 1.348 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/1.375, allocations: 62.06 kB / 1.481 GB, free: 1.316 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/1.375, allocations: 273 kB / 1.481 GB, free: 1.074 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/1.375, allocations: 24.22 kB / 1.481 GB, free: 1.062 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/1.375, allocations: 24.44 kB / 1.481 GB, free: 1.055 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/1.376, allocations: 318.7 kB / 1.481 GB, free: 0.832 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/1.376, allocations: 5.422 kB / 1.481 GB, free: 0.8281 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/1.376, allocations: 14.53 kB / 1.481 GB, free: 0.8164 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.376, allocations: 7.031 kB / 1.481 GB, free: 0.8164 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/1.376, allocations: 197 kB / 1.481 GB, free: 0.7305 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/1.378, allocations: 1.485 MB / 1.483 GB, free: 15.32 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/1.378, allocations: 118.7 kB / 1.483 GB, free: 15.25 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/1.378, allocations: 83.56 kB / 1.483 GB, free: 15.2 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004809/1.379, allocations: 78.22 kB / 1.483 GB, free: 15.17 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/1.379, allocations: 34.56 kB / 1.483 GB, free: 15.13 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=13): time 1.342e-06/1.379, allocations: 1.625 kB / 1.483 GB, free: 15.13 MB / 1.17 GB
Notification: Performance of matching and sorting (n=13): time 0.0008006/1.38, allocations: 270.5 kB / 1.483 GB, free: 14.99 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/1.38, allocations: 52.75 kB / 1.484 GB, free: 14.93 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/1.38, allocations: 314.9 kB / 1.484 GB, free: 14.73 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 2.732e-05/1.38, allocations: 25.7 kB / 1.484 GB, free: 14.7 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001696/1.38, allocations: 185.5 kB / 1.484 GB, free: 14.53 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/1.38, allocations: 49.84 kB / 1.484 GB, free: 14.48 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/1.381, allocations: 43.72 kB / 1.484 GB, free: 14.45 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001915/1.381, allocations: 333.2 kB / 1.484 GB, free: 14.12 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/1.381, allocations: 62.77 kB / 1.484 GB, free: 14.09 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/1.381, allocations: 113.7 kB / 1.485 GB, free: 14 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/1.382, allocations: 175.6 kB / 1.485 GB, free: 13.88 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/1.382, allocations: 4.812 kB / 1.485 GB, free: 13.88 MB / 1.17 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004884/1.382, allocations: 217 kB / 1.485 GB, free: 13.76 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.382, allocations: 11.89 kB / 1.485 GB, free: 13.75 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.382, allocations: 5.312 kB / 1.485 GB, free: 13.75 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.382, allocations: 6.312 kB / 1.485 GB, free: 13.75 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/1.382, allocations: 37.77 kB / 1.485 GB, free: 13.73 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.382, allocations: 2.281 kB / 1.485 GB, free: 13.73 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/1.382, allocations: 25.84 kB / 1.485 GB, free: 13.72 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/1.383, allocations: 14.34 kB / 1.485 GB, free: 13.71 MB / 1.17 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.0001845/1.383, allocations: 155.7 kB / 1.485 GB, free: 13.57 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/1.383, allocations: 32.94 kB / 1.485 GB, free: 13.55 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/1.383, allocations: 209.5 kB / 1.485 GB, free: 13.41 MB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.383, allocations: 1.469 kB / 1.485 GB, free: 13.41 MB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.383, allocations: 0 / 1.485 GB, free: 13.41 MB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.383, allocations: 0 / 1.485 GB, free: 13.41 MB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.384, allocations: 0.6504 MB / 1.486 GB, free: 12.88 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.384, allocations: 5.297 kB / 1.486 GB, free: 12.87 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/1.385, allocations: 29.83 kB / 1.486 GB, free: 12.86 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/1.385, allocations: 2.531 kB / 1.486 GB, free: 12.86 MB / 1.17 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/1.385, allocations: 6.812 kB / 1.486 GB, free: 12.86 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.385, allocations: 6.688 kB / 1.486 GB, free: 12.86 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.385, allocations: 2.219 kB / 1.486 GB, free: 12.86 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/1.385, allocations: 343.4 kB / 1.486 GB, free: 12.57 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/1.385, allocations: 46.95 kB / 1.487 GB, free: 12.54 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/1.385, allocations: 7.516 kB / 1.487 GB, free: 12.54 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/1.385, allocations: 13.5 kB / 1.487 GB, free: 12.53 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/1.386, allocations: 16.64 kB / 1.487 GB, free: 12.52 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.386, allocations: 9.625 kB / 1.487 GB, free: 12.51 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.0002638/1.386, allocations: 225.4 kB / 1.487 GB, free: 12.36 MB / 1.17 GB
Notification: Performance of sort global known variables: time 8e-08/1.386, allocations: 0 / 1.487 GB, free: 12.36 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.0004114/1.386, allocations: 74.36 kB / 1.487 GB, free: 12.35 MB / 1.17 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.0004452/1.387, allocations: 153.2 kB / 1.487 GB, free: 12.23 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.0004421/1.387, allocations: 149.9 kB / 1.487 GB, free: 12.16 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.387, allocations: 1.375 kB / 1.487 GB, free: 12.16 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001927/1.387, allocations: 85.56 kB / 1.487 GB, free: 12.12 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/1.388, allocations: 157.5 kB / 1.487 GB, free: 12.04 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.389, allocations: 0.5417 MB / 1.488 GB, free: 11.64 MB / 1.17 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/1.39, allocations: 0.7853 MB / 1.489 GB, free: 10.89 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 0.0001994/1.39, allocations: 56.67 kB / 1.489 GB, free: 10.87 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/1.39, allocations: 23.25 kB / 1.489 GB, free: 10.86 MB / 1.17 GB
Notification: Performance of SimCode: time 3.7e-07/1.39, allocations: 0 / 1.489 GB, free: 10.86 MB / 1.17 GB
Notification: Performance of Templates: time 0.01137/1.401, allocations: 5.259 MB / 1.494 GB, free: 8.27 MB / 1.17 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.045562816783786]