Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001269/0.001269, allocations: 104 kB / 20.33 MB, free: 1.59 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.001321/0.001321, allocations: 193.9 kB / 23.6 MB, free: 4.977 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.473/1.473, allocations: 225.6 MB / 252.3 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9729/0.9729, allocations: 149.5 MB / 457.1 MB, free: 1.328 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 69.61 kB / 0.6332 GB, free: 9.121 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.19, allocations: 87.87 MB / 0.719 GB, free: 1.176 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002264/0.1923, allocations: 0.8206 MB / 0.7198 GB, free: 368 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001275/0.1936, allocations: 0.8779 MB / 0.7207 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.1937, allocations: 8 kB / 0.7207 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1938, allocations: 11.81 kB / 0.7207 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 4.184e-05/0.1938, allocations: 7.938 kB / 0.7207 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1941, allocations: 35.84 kB / 0.7207 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1942, allocations: 75.78 kB / 0.7208 GB, free: 15.33 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1943, allocations: 19.97 kB / 0.7208 GB, free: 15.31 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.1944, allocations: 31.86 kB / 0.7208 GB, free: 15.28 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.958e-05/0.1945, allocations: 31.84 kB / 0.7209 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1946, allocations: 4 kB / 0.7209 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.1946, allocations: 12 kB / 0.7209 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.1946, allocations: 11.94 kB / 0.7209 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.1947, allocations: 35.78 kB / 0.7209 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1948, allocations: 75.62 kB / 0.721 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1948, allocations: 0 / 0.721 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of FrontEnd: time 3.918e-06/0.1948, allocations: 4 kB / 0.721 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.762e-06/0.1948, allocations: 0 / 0.721 GB, free: 15.11 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0006421/0.1955, allocations: 314 kB / 0.7213 GB, free: 14.77 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1955, allocations: 12.62 kB / 0.7213 GB, free: 14.76 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1955, allocations: 12.88 kB / 0.7213 GB, free: 14.75 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1958, allocations: 140.4 kB / 0.7215 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1958, allocations: 4.375 kB / 0.7215 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1959, allocations: 4.375 kB / 0.7215 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.196, allocations: 66.22 kB / 0.7215 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.196, allocations: 192 / 0.7215 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1961, allocations: 7.875 kB / 0.7215 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1961, allocations: 4 kB / 0.7215 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1962, allocations: 31.98 kB / 0.7216 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.1967, allocations: 287.7 kB / 0.7218 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1969, allocations: 50.61 kB / 0.7219 GB, free: 14.08 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.197, allocations: 16.95 kB / 0.7219 GB, free: 14.06 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.197, allocations: 7.922 kB / 0.7219 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.197, allocations: 34.56 kB / 0.722 GB, free: 14.01 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.197, allocations: 0 / 0.722 GB, free: 14.01 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0002755/0.1973, allocations: 73.84 kB / 0.722 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1973, allocations: 51.41 kB / 0.7221 GB, free: 13.87 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1975, allocations: 137.8 kB / 0.7222 GB, free: 13.73 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1975, allocations: 29.7 kB / 0.7222 GB, free: 13.69 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.1976, allocations: 104.1 kB / 0.7223 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.1976, allocations: 3.953 kB / 0.7223 GB, free: 13.58 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1976, allocations: 17.72 kB / 0.7224 GB, free: 13.56 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001812/0.1978, allocations: 326.8 kB / 0.7227 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.1979, allocations: 15.98 kB / 0.7227 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.1979, allocations: 15.98 kB / 0.7227 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.082e-05/0.198, allocations: 32.84 kB / 0.7227 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.198, allocations: 0 / 0.7227 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001492/0.1982, allocations: 69.61 kB / 0.7228 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1982, allocations: 10.28 kB / 0.7228 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1982, allocations: 0 / 0.7228 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1982, allocations: 4 kB / 0.7228 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.1983, allocations: 3.984 kB / 0.7228 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1983, allocations: 0 / 0.7228 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.1983, allocations: 19.94 kB / 0.7228 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.1983, allocations: 0 / 0.7228 GB, free: 13.05 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 4
 * 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 9.701e-05/0.1984, allocations: 117.8 kB / 0.7229 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1985, allocations: 7.953 kB / 0.7229 GB, free: 12.92 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.1985, allocations: 12.34 kB / 0.723 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1985, allocations: 0 / 0.723 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1985, allocations: 0 / 0.723 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1985, allocations: 0 / 0.723 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1987, allocations: 152.7 kB / 0.7231 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1987, allocations: 7.984 kB / 0.7231 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.1987, allocations: 4 kB / 0.7231 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1987, allocations: 0 / 0.7231 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1988, allocations: 3.938 kB / 0.7231 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1988, allocations: 4 kB / 0.7231 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.1988, allocations: 0 / 0.7231 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.199, allocations: 159.4 kB / 0.7233 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.199, allocations: 11.94 kB / 0.7233 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.199, allocations: 7.984 kB / 0.7233 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1991, allocations: 4 kB / 0.7233 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1992, allocations: 11.97 kB / 0.7233 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1992, allocations: 0 / 0.7233 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 8.474e-05/0.1992, allocations: 107.2 kB / 0.7234 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.1992, allocations: 0 / 0.7234 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.000227/0.1995, allocations: 19.89 kB / 0.7234 GB, free: 12.36 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 2 (les.y,lesHys.lesHys.y)
 * Number of discrete states: 1 (lesHys.lesHys.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 3
 * 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.0001326/0.1996, allocations: 95.25 kB / 0.7235 GB, free: 12.26 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001668/0.1998, allocations: 39.91 kB / 0.7236 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1998, allocations: 0 / 0.7236 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 6.618e-05/0.1998, allocations: 16 kB / 0.7236 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.2001, allocations: 14.42 kB / 0.7236 GB, free: 12.19 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.2005, allocations: 170.8 kB / 0.7238 GB, free: 12 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.2009, allocations: 0.6962 MB / 0.7244 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.759e-05/0.2009, allocations: 11.67 kB / 0.7244 GB, free: 11.26 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.201, allocations: 11.44 kB / 0.7245 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of SimCode: time 2.91e-07/0.201, allocations: 0 / 0.7245 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of Templates: time 0.003592/0.2046, allocations: 0.8656 MB / 0.7253 GB, free: 10.39 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold  -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.570824641996296]
Failed to read output from testmodel.py, exit status != 0:
0.21268302399403183 0.22829237200000002 0.030188330000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5488b3d810>