Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001794/0.001794, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002533/0.002533, allocations: 188.6 kB / 22.1 MB, free: 4.34 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.578/1.578, allocations: 225.6 MB / 250.8 MB, free: 2.91 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.097/3.097, allocations: 495.8 MB / 0.7831 GB, free: 12.34 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy")
translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.226/1.406, allocations: 160.3 MB / 1.463 GB, free: 13.92 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.008839/1.415, allocations: 4.572 MB / 1.468 GB, free: 10.68 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/1.416, allocations: 14.66 kB / 1.468 GB, free: 10.68 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007542/1.416, allocations: 124.3 kB / 1.468 GB, free: 10.59 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001644/1.418, allocations: 351.8 kB / 1.468 GB, free: 10.41 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001365/1.419, allocations: 293.6 kB / 1.468 GB, free: 10.26 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001311/1.421, allocations: 0.5668 MB / 1.469 GB, free: 10.01 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/1.421, allocations: 152.6 kB / 1.469 GB, free: 9.938 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002697/1.424, allocations: 0.6901 MB / 1.47 GB, free: 9.621 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/1.425, allocations: 206.2 kB / 1.47 GB, free: 9.535 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 8.582e-05/1.425, allocations: 16.03 kB / 1.47 GB, free: 9.535 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/1.425, allocations: 84.59 kB / 1.47 GB, free: 9.516 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002235/1.425, allocations: 88.16 kB / 1.47 GB, free: 9.48 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.000327/1.426, allocations: 117.6 kB / 1.47 GB, free: 9.414 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008829/1.427, allocations: 305 kB / 1.471 GB, free: 9.297 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.427, allocations: 1.188 kB / 1.471 GB, free: 9.297 MB / 1.154 GB
Notification: Performance of FrontEnd: time 2.946e-06/1.427, allocations: 3.938 kB / 1.471 GB, free: 9.293 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 2.017e-05/1.427, allocations: 0.7969 kB / 1.471 GB, free: 9.293 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: 42
 * Number of variables: 42
Notification: Performance of Generate backend data structure: time 0.001826/1.428, allocations: 474.6 kB / 1.471 GB, free: 8.91 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.428, allocations: 9.688 kB / 1.471 GB, free: 8.91 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/1.429, allocations: 33.39 kB / 1.471 GB, free: 8.891 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/1.429, allocations: 233.2 kB / 1.471 GB, free: 8.703 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/1.429, allocations: 11.34 kB / 1.471 GB, free: 8.699 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/1.429, allocations: 25.56 kB / 1.471 GB, free: 8.688 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/1.43, allocations: 260 kB / 1.472 GB, free: 8.496 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.43, allocations: 5.062 kB / 1.472 GB, free: 8.492 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/1.43, allocations: 6.781 kB / 1.472 GB, free: 8.488 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.43, allocations: 4.094 kB / 1.472 GB, free: 8.488 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/1.431, allocations: 149.9 kB / 1.472 GB, free: 8.418 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/1.433, allocations: 1.334 MB / 1.473 GB, free: 7.141 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000402/1.433, allocations: 179 kB / 1.473 GB, free: 6.953 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/1.433, allocations: 88.89 kB / 1.473 GB, free: 6.879 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000366/1.434, allocations: 43.16 kB / 1.473 GB, free: 6.859 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/1.434, allocations: 46.44 kB / 1.473 GB, free: 6.809 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=10): time 1.623e-06/1.434, allocations: 0 / 1.473 GB, free: 6.809 MB / 1.154 GB
Notification: Performance of matching and sorting (n=10): time 0.0007409/1.434, allocations: 202.6 kB / 1.474 GB, free: 6.695 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/1.435, allocations: 190.4 kB / 1.474 GB, free: 6.469 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/1.435, allocations: 290 kB / 1.474 GB, free: 6.281 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 3.273e-05/1.435, allocations: 31.48 kB / 1.474 GB, free: 6.246 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001571/1.435, allocations: 151.6 kB / 1.474 GB, free: 6.105 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/1.435, allocations: 37.72 kB / 1.474 GB, free: 6.074 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/1.435, allocations: 38.95 kB / 1.474 GB, free: 6.043 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001943/1.435, allocations: 336.2 kB / 1.475 GB, free: 5.711 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/1.436, allocations: 40.72 kB / 1.475 GB, free: 5.695 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/1.436, allocations: 123.4 kB / 1.475 GB, free: 5.586 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/1.436, allocations: 158.4 kB / 1.475 GB, free: 5.465 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.436, allocations: 0 / 1.475 GB, free: 5.465 MB / 1.154 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.000482/1.437, allocations: 198.2 kB / 1.475 GB, free: 5.348 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.437, allocations: 6.062 kB / 1.475 GB, free: 5.348 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.437, allocations: 1.375 kB / 1.475 GB, free: 5.348 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.437, allocations: 2.625 kB / 1.475 GB, free: 5.348 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/1.437, allocations: 33.2 kB / 1.475 GB, free: 5.34 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/1.437, allocations: 1.531 kB / 1.475 GB, free: 5.34 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/1.437, allocations: 31.2 kB / 1.475 GB, free: 5.32 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/1.437, allocations: 5.688 kB / 1.475 GB, free: 5.32 MB / 1.154 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (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 prepare postOptimizeDAE: time 0.0001794/1.437, allocations: 151.1 kB / 1.475 GB, free: 5.18 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/1.438, allocations: 35.84 kB / 1.475 GB, free: 5.156 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/1.438, allocations: 130.9 kB / 1.476 GB, free: 5.062 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.438, allocations: 2.75 kB / 1.476 GB, free: 5.062 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.438, allocations: 1.219 kB / 1.476 GB, free: 5.062 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.438, allocations: 2.625 kB / 1.476 GB, free: 5.062 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/1.439, allocations: 0.747 MB / 1.476 GB, free: 4.332 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.439, allocations: 1.5 kB / 1.476 GB, free: 4.332 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/1.439, allocations: 21.36 kB / 1.476 GB, free: 4.328 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/1.439, allocations: 2.734 kB / 1.476 GB, free: 4.328 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/1.439, allocations: 10.92 kB / 1.476 GB, free: 4.32 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.439, allocations: 1.406 kB / 1.476 GB, free: 4.32 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.439, allocations: 5.375 kB / 1.476 GB, free: 4.316 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/1.44, allocations: 345.9 kB / 1.477 GB, free: 4.043 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/1.44, allocations: 38.48 kB / 1.477 GB, free: 4.016 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/1.44, allocations: 6.594 kB / 1.477 GB, free: 4.012 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/1.44, allocations: 8.891 kB / 1.477 GB, free: 4.008 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/1.44, allocations: 15.8 kB / 1.477 GB, free: 3.996 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/1.44, allocations: 3.938 kB / 1.477 GB, free: 3.996 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.000257/1.441, allocations: 210.5 kB / 1.477 GB, free: 3.859 MB / 1.154 GB
Notification: Performance of sort global known variables: time 9.1e-08/1.441, allocations: 5.219 kB / 1.477 GB, free: 3.855 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0004065/1.441, allocations: 52.53 kB / 1.477 GB, free: 3.848 MB / 1.154 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 1 (senStr.h_out)
 * 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 (10):
 * Single equations (assignments): 10
 * 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.0004324/1.441, allocations: 139.9 kB / 1.477 GB, free: 3.738 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0004646/1.442, allocations: 125.4 kB / 1.477 GB, free: 3.68 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.442, allocations: 96 / 1.477 GB, free: 3.68 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001895/1.442, allocations: 64.33 kB / 1.477 GB, free: 3.648 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009443/1.443, allocations: 123.3 kB / 1.477 GB, free: 3.586 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/1.444, allocations: 497.9 kB / 1.478 GB, free: 3.207 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/1.445, allocations: 0.754 MB / 1.479 GB, free: 2.477 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0001905/1.445, allocations: 47.17 kB / 1.479 GB, free: 2.457 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/1.445, allocations: 26.38 kB / 1.479 GB, free: 2.445 MB / 1.154 GB
Notification: Performance of SimCode: time 2.91e-07/1.445, allocations: 0 / 1.479 GB, free: 2.445 MB / 1.154 GB
Notification: Performance of Templates: time 0.01265/1.458, allocations: 4.344 MB / 1.483 GB, free: 316 kB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.389231137931347]