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.001474/0.001474, 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.001548/0.001548, allocations: 189 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.297/1.297, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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.914/2.914, allocations: 496 MB / 0.7835 GB, free: 33.5 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.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.001864/0.001864, allocations: 63.81 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.31, allocations: 173.6 MB / 1.307 GB, free: 1.785 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.187/0.497, allocations: 168.3 MB / 1.472 GB, free: 8.844 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.00777/0.5048, allocations: 6.632 MB / 1.478 GB, free: 2.191 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.5052, allocations: 23.81 kB / 1.478 GB, free: 2.168 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.5058, allocations: 170.7 kB / 1.478 GB, free: 2 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.002067/0.5079, allocations: 0.883 MB / 1.479 GB, free: 1.113 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008732/0.5087, allocations: 346.7 kB / 1.48 GB, free: 0.7773 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.0008096/0.5095, allocations: 0.7213 MB / 1.48 GB, free: 56 kB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.5099, allocations: 219.2 kB / 1.48 GB, free: 15.84 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.5113, allocations: 0.7356 MB / 1.481 GB, free: 15.1 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.5117, allocations: 282.9 kB / 1.481 GB, free: 14.82 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.5117, allocations: 20 kB / 1.481 GB, free: 14.8 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.5123, allocations: 359.2 kB / 1.482 GB, free: 14.45 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.5124, allocations: 111.6 kB / 1.482 GB, free: 14.34 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.5126, allocations: 163.2 kB / 1.482 GB, free: 14.18 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.5132, allocations: 474.2 kB / 1.482 GB, free: 13.72 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5132, allocations: 0 / 1.482 GB, free: 13.72 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.232e-06/0.5132, allocations: 0 / 1.482 GB, free: 13.72 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 6.703e-06/0.5132, allocations: 0 / 1.482 GB, free: 13.72 MB / 1.186 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.0008126/0.514, allocations: 0.5516 MB / 1.483 GB, free: 13.14 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5141, allocations: 12.02 kB / 1.483 GB, free: 13.12 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.5144, allocations: 63.73 kB / 1.483 GB, free: 13.06 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.5149, allocations: 263.5 kB / 1.483 GB, free: 12.78 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.5149, allocations: 20.66 kB / 1.483 GB, free: 12.76 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.5149, allocations: 24 kB / 1.483 GB, free: 12.73 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.5154, allocations: 324.9 kB / 1.484 GB, free: 12.39 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5155, allocations: 0 / 1.484 GB, free: 12.39 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.5155, allocations: 12 kB / 1.484 GB, free: 12.38 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.5155, allocations: 4 kB / 1.484 GB, free: 12.38 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.5159, allocations: 201.5 kB / 1.484 GB, free: 12.18 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.5174, allocations: 1.5 MB / 1.485 GB, free: 10.54 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.5176, allocations: 118.4 kB / 1.485 GB, free: 10.42 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.5178, allocations: 88.8 kB / 1.486 GB, free: 10.33 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/0.5183, allocations: 71.92 kB / 1.486 GB, free: 10.26 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.5183, allocations: 34.56 kB / 1.486 GB, free: 10.21 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.5183, allocations: 0 / 1.486 GB, free: 10.21 MB / 1.186 GB
Notification: Performance of matching and sorting (n=13): time 0.0006962/0.519, allocations: 274.7 kB / 1.486 GB, free: 9.941 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.519, allocations: 55.41 kB / 1.486 GB, free: 9.875 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.5193, allocations: 308.5 kB / 1.486 GB, free: 9.57 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.5194, allocations: 25.7 kB / 1.486 GB, free: 9.539 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.5195, allocations: 192.2 kB / 1.486 GB, free: 9.348 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.5195, allocations: 51.52 kB / 1.487 GB, free: 9.297 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.5196, allocations: 41.7 kB / 1.487 GB, free: 9.25 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001445/0.5197, allocations: 334.8 kB / 1.487 GB, free: 8.914 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.5199, allocations: 59.95 kB / 1.487 GB, free: 8.855 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.5201, allocations: 114.2 kB / 1.487 GB, free: 8.727 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.5204, allocations: 173 kB / 1.487 GB, free: 8.539 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5204, allocations: 3.938 kB / 1.487 GB, free: 8.535 MB / 1.186 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004129/0.5208, allocations: 221.3 kB / 1.487 GB, free: 8.312 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5208, allocations: 4 kB / 1.487 GB, free: 8.309 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5208, allocations: 4 kB / 1.487 GB, free: 8.305 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5208, allocations: 0 / 1.487 GB, free: 8.305 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.521, allocations: 39.92 kB / 1.487 GB, free: 8.266 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.521, allocations: 0 / 1.487 GB, free: 8.266 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.5212, allocations: 27.81 kB / 1.488 GB, free: 8.238 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.5212, allocations: 8 kB / 1.488 GB, free: 8.23 MB / 1.186 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.0001498/0.5214, allocations: 161.7 kB / 1.488 GB, free: 8.062 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.5214, allocations: 31.8 kB / 1.488 GB, free: 8.031 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.5218, allocations: 211.3 kB / 1.488 GB, free: 7.816 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5218, allocations: 0 / 1.488 GB, free: 7.816 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5218, allocations: 3.938 kB / 1.488 GB, free: 7.812 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5218, allocations: 4 kB / 1.488 GB, free: 7.809 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009862/0.5228, allocations: 0.6552 MB / 1.489 GB, free: 7.082 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5228, allocations: 4 kB / 1.489 GB, free: 7.078 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.5229, allocations: 32.27 kB / 1.489 GB, free: 7.047 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.523, allocations: 4 kB / 1.489 GB, free: 7.043 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.523, allocations: 0 / 1.489 GB, free: 7.043 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.523, allocations: 11.92 kB / 1.489 GB, free: 7.031 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.523, allocations: 7.938 kB / 1.489 GB, free: 7.023 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.5234, allocations: 325.3 kB / 1.489 GB, free: 6.668 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/0.5235, allocations: 51.72 kB / 1.489 GB, free: 6.617 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.5235, allocations: 4 kB / 1.489 GB, free: 6.613 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.5237, allocations: 15.94 kB / 1.489 GB, free: 6.598 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.5237, allocations: 19.91 kB / 1.489 GB, free: 6.578 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.5237, allocations: 4 kB / 1.489 GB, free: 6.574 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0002081/0.5239, allocations: 219.1 kB / 1.489 GB, free: 6.359 MB / 1.186 GB
Notification: Performance of sort global known variables: time 8e-08/0.5239, allocations: 0 / 1.489 GB, free: 6.359 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0003401/0.5243, allocations: 75.88 kB / 1.489 GB, free: 6.285 MB / 1.186 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.0003635/0.5246, allocations: 156.8 kB / 1.489 GB, free: 6.129 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.0003967/0.525, allocations: 152.1 kB / 1.49 GB, free: 5.98 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.525, allocations: 4 kB / 1.49 GB, free: 5.977 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.5252, allocations: 79.81 kB / 1.49 GB, free: 5.898 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.5259, allocations: 156.1 kB / 1.49 GB, free: 5.754 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.5268, allocations: 0.5368 MB / 1.49 GB, free: 5.172 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.5271, allocations: 0.7834 MB / 1.491 GB, free: 4.363 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0001641/0.5273, allocations: 66.92 kB / 1.491 GB, free: 4.293 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.5274, allocations: 23.44 kB / 1.491 GB, free: 4.27 MB / 1.186 GB
Notification: Performance of SimCode: time 2.8e-07/0.5274, allocations: 3.938 kB / 1.491 GB, free: 4.266 MB / 1.186 GB
Notification: Performance of Templates: time 0.009621/0.537, allocations: 5.256 MB / 1.496 GB, free: 15.09 MB / 1.201 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: 8.296823716722429]