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.001252/0.001252, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.001313/0.001313, allocations: 190.6 kB / 22.85 MB, free: 5.645 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.356/1.356, allocations: 225.6 MB / 251.5 MB, free: 13.06 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.9173/0.9173, allocations: 149.5 MB / 456.3 MB, free: 1.297 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.001925/0.001925, allocations: 75.59 kB / 0.6324 GB, free: 9.117 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1761, allocations: 87.87 MB / 0.7183 GB, free: 1.176 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002005/0.1781, allocations: 0.8181 MB / 0.719 GB, free: 368 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001046/0.1791, allocations: 0.8701 MB / 0.7199 GB, free: 15.48 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.1792, allocations: 7.938 kB / 0.7199 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1793, allocations: 15.86 kB / 0.7199 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.1794, allocations: 11.88 kB / 0.7199 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.1796, allocations: 39.89 kB / 0.72 GB, free: 15.4 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1797, allocations: 79.72 kB / 0.72 GB, free: 15.32 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1798, allocations: 15.98 kB / 0.7201 GB, free: 15.31 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.1799, allocations: 27.92 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.1799, allocations: 31.84 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.18, allocations: 4 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.18, allocations: 11.94 kB / 0.7201 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.18, allocations: 15.92 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.18, allocations: 27.81 kB / 0.7202 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1802, allocations: 83.61 kB / 0.7203 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1802, allocations: 0 / 0.7203 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.473e-06/0.1802, allocations: 4 kB / 0.7203 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.24e-06/0.1802, allocations: 0 / 0.7203 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.0005142/0.1807, allocations: 310 kB / 0.7206 GB, free: 14.77 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1807, allocations: 8.625 kB / 0.7206 GB, free: 14.76 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.1808, allocations: 8.891 kB / 0.7206 GB, free: 14.75 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.181, allocations: 150.3 kB / 0.7207 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.181, allocations: 4.312 kB / 0.7207 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.181, allocations: 8.375 kB / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1812, allocations: 58.23 kB / 0.7208 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1812, allocations: 192 / 0.7208 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1812, allocations: 7.938 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1812, allocations: 0 / 0.7208 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1813, allocations: 39.91 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.1818, allocations: 291.7 kB / 0.7211 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1819, allocations: 46.72 kB / 0.7212 GB, free: 14.08 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.182, allocations: 20.88 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.182, allocations: 0 / 0.7212 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.182, allocations: 38.56 kB / 0.7212 GB, free: 14.01 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.182, allocations: 0 / 0.7212 GB, free: 14.01 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0002567/0.1823, allocations: 73.61 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1823, allocations: 55.39 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1825, allocations: 136.2 kB / 0.7215 GB, free: 13.72 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1825, allocations: 25.7 kB / 0.7215 GB, free: 13.69 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1825, allocations: 96.09 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1826, allocations: 15.94 kB / 0.7216 GB, free: 13.58 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1826, allocations: 17.72 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001335/0.1827, allocations: 322.8 kB / 0.7219 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.1828, allocations: 15.94 kB / 0.7219 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.1828, allocations: 15.98 kB / 0.7219 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.1829, allocations: 28.84 kB / 0.722 GB, free: 13.17 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1829, allocations: 0 / 0.722 GB, free: 13.17 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001311/0.1831, allocations: 69.67 kB / 0.722 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1831, allocations: 4 kB / 0.722 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1831, allocations: 3.938 kB / 0.722 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1831, allocations: 4 kB / 0.7221 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.1831, allocations: 0 / 0.7221 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1831, allocations: 3.938 kB / 0.7221 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.1832, allocations: 15.94 kB / 0.7221 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.1832, allocations: 0 / 0.7221 GB, free: 13.06 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.295e-05/0.1833, allocations: 121.8 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.1833, allocations: 7.953 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.1834, allocations: 16.33 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1834, allocations: 4 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1834, allocations: 0 / 0.7222 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1834, allocations: 0 / 0.7222 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1836, allocations: 152.7 kB / 0.7224 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1836, allocations: 0 / 0.7224 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.1836, allocations: 4 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1836, allocations: 3.984 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1836, allocations: 4 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1836, allocations: 4 kB / 0.7224 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1836, allocations: 0 / 0.7224 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1838, allocations: 163.4 kB / 0.7225 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.1838, allocations: 3.938 kB / 0.7225 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1838, allocations: 11.94 kB / 0.7225 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.1839, allocations: 7.984 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.184, allocations: 11.98 kB / 0.7226 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.184, allocations: 0 / 0.7226 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.819e-05/0.1841, allocations: 109.3 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1841, allocations: 0 / 0.7227 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002171/0.1843, allocations: 15.89 kB / 0.7227 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.0001055/0.1844, allocations: 95.62 kB / 0.7228 GB, free: 12.26 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001442/0.1845, allocations: 31.98 kB / 0.7228 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1845, allocations: 4 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 5.249e-05/0.1846, allocations: 20.02 kB / 0.7228 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.0002338/0.1848, allocations: 8.094 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.1852, allocations: 170.7 kB / 0.723 GB, free: 12 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1855, allocations: 0.6924 MB / 0.7237 GB, free: 11.28 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.809e-05/0.1855, allocations: 11.73 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.1855, allocations: 19.38 kB / 0.7237 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of SimCode: time 3.1e-07/0.1855, allocations: 0 / 0.7237 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of Templates: time 0.00348/0.189, allocations: 0.8624 MB / 0.7245 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.246602150611579]
Failed to read output from testmodel.py, exit status != 0:
0.19742084946483374 0.21113524999999994 0.028073033
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2c02e317b0>