Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.00129/0.00129, allocations: 110.2 kB / 19.59 MB, free: 2.277 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.001919/0.001919, allocations: 192.8 kB / 22.85 MB, free: 5.66 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.514/1.514, allocations: 225.6 MB / 251.5 MB, free: 13.04 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 1.016/1.016, 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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.02 kB / 0.6324 GB, free: 9.098 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2156, allocations: 87.88 MB / 0.7182 GB, free: 1.145 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00202/0.2176, allocations: 0.8181 MB / 0.719 GB, free: 336 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001171/0.2187, allocations: 0.874 MB / 0.7199 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.2188, allocations: 3.938 kB / 0.7199 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.219, allocations: 15.88 kB / 0.7199 GB, free: 15.42 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.219, allocations: 15.86 kB / 0.7199 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.2192, allocations: 27.92 kB / 0.72 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001445/0.2194, allocations: 79.7 kB / 0.72 GB, free: 15.3 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2195, allocations: 27.97 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.898e-05/0.2196, allocations: 27.86 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.2196, allocations: 27.86 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.2197, allocations: 8 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.769e-05/0.2197, allocations: 4 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.2197, allocations: 15.92 kB / 0.7201 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.2198, allocations: 35.8 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.2199, allocations: 79.61 kB / 0.7203 GB, free: 15.08 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2199, allocations: 4 kB / 0.7203 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.934e-06/0.2199, allocations: 0 / 0.7203 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.431e-06/0.2199, allocations: 0 / 0.7203 GB, free: 15.07 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.0006055/0.2205, allocations: 306 kB / 0.7206 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.2206, allocations: 12.62 kB / 0.7206 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.2206, allocations: 12.89 kB / 0.7206 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.2209, allocations: 146.3 kB / 0.7207 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2209, allocations: 384 / 0.7207 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2209, allocations: 4.375 kB / 0.7207 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.2211, allocations: 62.23 kB / 0.7208 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2211, allocations: 192 / 0.7208 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2211, allocations: 3.938 kB / 0.7208 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.2211, allocations: 4 kB / 0.7208 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.2212, allocations: 35.92 kB / 0.7208 GB, free: 14.44 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.2218, allocations: 291.8 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.222, allocations: 46.59 kB / 0.7211 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.222, allocations: 25 kB / 0.7212 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2221, allocations: 3.984 kB / 0.7212 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.2221, allocations: 30.56 kB / 0.7212 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2221, allocations: 0 / 0.7212 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0002882/0.2224, allocations: 81.55 kB / 0.7213 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.2224, allocations: 55.41 kB / 0.7213 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2226, allocations: 131.9 kB / 0.7215 GB, free: 13.7 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2226, allocations: 29.7 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.2227, allocations: 100.1 kB / 0.7216 GB, free: 13.56 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.2227, allocations: 7.953 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.2227, allocations: 21.7 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001414/0.2229, allocations: 322.7 kB / 0.7219 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.2229, allocations: 15.98 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.223, allocations: 12 kB / 0.7219 GB, free: 13.17 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.767e-05/0.2231, allocations: 36.83 kB / 0.722 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2231, allocations: 0 / 0.722 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.000157/0.2232, allocations: 65.56 kB / 0.722 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2232, allocations: 8 kB / 0.722 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2232, allocations: 0 / 0.722 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2233, allocations: 0 / 0.722 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.2233, allocations: 7.984 kB / 0.7221 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2234, allocations: 3.984 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.2234, allocations: 15.94 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2234, allocations: 8 kB / 0.7221 GB, free: 13.02 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.708e-05/0.2235, allocations: 117.8 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.2236, allocations: 3.953 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.2236, allocations: 12.34 kB / 0.7222 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2236, allocations: 3.984 kB / 0.7222 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2236, allocations: 0 / 0.7222 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2236, allocations: 0 / 0.7222 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.2238, allocations: 156.7 kB / 0.7224 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2238, allocations: 4 kB / 0.7224 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.2239, allocations: 4 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2239, allocations: 4 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.2239, allocations: 0 / 0.7224 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2239, allocations: 0 / 0.7224 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2239, allocations: 0 / 0.7224 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.2241, allocations: 163.4 kB / 0.7225 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.2241, allocations: 11.92 kB / 0.7225 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.2241, allocations: 4 kB / 0.7225 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2243, allocations: 7.984 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.2243, allocations: 11.98 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2243, allocations: 0 / 0.7226 GB, free: 12.45 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.944e-05/0.2244, allocations: 105.6 kB / 0.7227 GB, free: 12.35 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2244, allocations: 0 / 0.7227 GB, free: 12.35 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002273/0.2246, allocations: 15.89 kB / 0.7227 GB, free: 12.33 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 (gre.y,greHys.greHys.y)
 * Number of discrete states: 1 (greHys.greHys.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.000145/0.2248, allocations: 103.6 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001714/0.2249, allocations: 31.92 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2249, allocations: 0 / 0.7228 GB, free: 12.19 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 6.111e-05/0.225, allocations: 24.06 kB / 0.7228 GB, free: 12.17 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.2253, allocations: 8 kB / 0.7228 GB, free: 12.16 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.2257, allocations: 170.7 kB / 0.723 GB, free: 11.96 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.2261, allocations: 0.6982 MB / 0.7237 GB, free: 11.24 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.078e-05/0.2261, allocations: 7.75 kB / 0.7237 GB, free: 11.23 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.2262, allocations: 15.42 kB / 0.7237 GB, free: 11.22 MB / 0.545 GB
Notification: Performance of SimCode: time 2.9e-07/0.2262, allocations: 0 / 0.7237 GB, free: 11.22 MB / 0.545 GB
Notification: Performance of Templates: time 0.003863/0.23, allocations: 0.8696 MB / 0.7246 GB, free: 10.36 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.080570632591844]
Failed to read output from testmodel.py, exit status != 0:
0.23903623223304749 0.25750701699999995 0.03354219
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2fdb5bd7b0>