Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001344/0.001344, allocations: 113.3 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.001442/0.001442, allocations: 193.5 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.501/1.501, allocations: 225.6 MB / 251.5 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.9466/0.9466, allocations: 149.5 MB / 456.3 MB, free: 1.309 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 66.08 kB / 0.6324 GB, free: 9.098 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2101, allocations: 87.87 MB / 0.7183 GB, free: 1.152 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002616/0.2127, allocations: 1.063 MB / 0.7193 GB, free: 92 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001409/0.2141, allocations: 1.003 MB / 0.7203 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2143, allocations: 0 / 0.7203 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.2144, allocations: 19.75 kB / 0.7203 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.2145, allocations: 23.73 kB / 0.7203 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.2148, allocations: 75.84 kB / 0.7204 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0002595/0.2151, allocations: 184 kB / 0.7206 GB, free: 14.78 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.2153, allocations: 60.41 kB / 0.7206 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2154, allocations: 67.78 kB / 0.7207 GB, free: 14.65 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.2155, allocations: 83.59 kB / 0.7208 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.2156, allocations: 16 kB / 0.7208 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.826e-05/0.2156, allocations: 16 kB / 0.7208 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.2157, allocations: 39.84 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 9.645e-05/0.2158, allocations: 79.58 kB / 0.7209 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.216, allocations: 187.1 kB / 0.7211 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.2161, allocations: 0 / 0.7211 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.2161, allocations: 0 / 0.7211 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.883e-06/0.2161, allocations: 0 / 0.7211 GB, free: 14.23 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: 36
 * Number of variables: 36
Notification: Performance of Generate backend data structure: time 0.0009123/0.217, allocations: 426.3 kB / 0.7215 GB, free: 13.78 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.217, allocations: 12.62 kB / 0.7215 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.2171, allocations: 20.84 kB / 0.7215 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.2174, allocations: 165 kB / 0.7217 GB, free: 13.57 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2174, allocations: 16.23 kB / 0.7217 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.2175, allocations: 16.38 kB / 0.7217 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.2178, allocations: 158.1 kB / 0.7219 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2178, allocations: 0 / 0.7219 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2178, allocations: 8 kB / 0.7219 GB, free: 13.37 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2179, allocations: 4 kB / 0.7219 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.2182, allocations: 107.9 kB / 0.722 GB, free: 13.26 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.2193, allocations: 0.5069 MB / 0.7225 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.2197, allocations: 130.7 kB / 0.7226 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.2199, allocations: 80.75 kB / 0.7227 GB, free: 12.49 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2199, allocations: 4 kB / 0.7227 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.2202, allocations: 125.2 kB / 0.7228 GB, free: 12.35 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.2202, allocations: 0 / 0.7228 GB, free: 12.35 MB / 0.545 GB
Notification: Performance of matching and sorting (n=19): time 0.0005989/0.2208, allocations: 220 kB / 0.723 GB, free: 12.13 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.2208, allocations: 55.41 kB / 0.7231 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.221, allocations: 165.5 kB / 0.7232 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.221, allocations: 29.7 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.2211, allocations: 124.5 kB / 0.7234 GB, free: 11.74 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.2211, allocations: 67.42 kB / 0.7234 GB, free: 11.67 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.2212, allocations: 37.7 kB / 0.7235 GB, free: 11.63 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001558/0.2214, allocations: 330.8 kB / 0.7238 GB, free: 11.3 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2216, allocations: 63.95 kB / 0.7238 GB, free: 11.23 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.2218, allocations: 98.83 kB / 0.7239 GB, free: 11.13 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.2222, allocations: 145.5 kB / 0.7241 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2222, allocations: 0 / 0.7241 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.000549/0.2227, allocations: 210.7 kB / 0.7243 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2228, allocations: 8.031 kB / 0.7243 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2228, allocations: 0 / 0.7243 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.2228, allocations: 7.984 kB / 0.7243 GB, free: 10.76 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.223, allocations: 43.91 kB / 0.7243 GB, free: 10.71 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.223, allocations: 0 / 0.7243 GB, free: 10.71 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2231, allocations: 27.88 kB / 0.7244 GB, free: 10.69 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2232, allocations: 4 kB / 0.7244 GB, free: 10.68 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (23):
 * Single equations (assignments): 23
 * 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.0001445/0.2233, allocations: 137.7 kB / 0.7245 GB, free: 10.54 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2233, allocations: 19.89 kB / 0.7245 GB, free: 10.52 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.2238, allocations: 182.7 kB / 0.7247 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2238, allocations: 0 / 0.7247 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2238, allocations: 0 / 0.7247 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2238, allocations: 7.984 kB / 0.7247 GB, free: 10.32 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009291/0.2248, allocations: 0.5491 MB / 0.7252 GB, free: 9.707 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2248, allocations: 0 / 0.7252 GB, free: 9.707 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.2249, allocations: 39.91 kB / 0.7253 GB, free: 9.668 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.2249, allocations: 12.12 kB / 0.7253 GB, free: 9.656 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.225, allocations: 4 kB / 0.7253 GB, free: 9.652 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.225, allocations: 4 kB / 0.7253 GB, free: 9.648 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.225, allocations: 7.938 kB / 0.7253 GB, free: 9.641 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.2256, allocations: 377.7 kB / 0.7257 GB, free: 9.238 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.2257, allocations: 27.81 kB / 0.7257 GB, free: 9.211 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.2257, allocations: 8 kB / 0.7257 GB, free: 9.203 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.2259, allocations: 15.98 kB / 0.7257 GB, free: 9.188 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.2259, allocations: 27.91 kB / 0.7257 GB, free: 9.16 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.2259, allocations: 7.984 kB / 0.7257 GB, free: 9.152 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001243/0.2261, allocations: 121 kB / 0.7259 GB, free: 9.035 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2261, allocations: 0 / 0.7259 GB, free: 9.035 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002778/0.2263, allocations: 28 kB / 0.7259 GB, free: 9.008 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 3 (der2.x,intWitRes.y,der1.x)
 * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y)
 * Number of discrete states: 1 (lesThr.lesHys.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (19):
 * Single equations (assignments): 19
 * 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.0001434/0.2265, allocations: 107.2 kB / 0.726 GB, free: 8.895 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004695/0.227, allocations: 161.5 kB / 0.7261 GB, free: 8.738 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.227, allocations: 0 / 0.7261 GB, free: 8.738 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.2272, allocations: 87.83 kB / 0.7262 GB, free: 8.652 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.2275, allocations: 26.28 kB / 0.7262 GB, free: 8.629 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.2282, allocations: 378.5 kB / 0.7266 GB, free: 8.215 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.2286, allocations: 0.732 MB / 0.7273 GB, free: 7.453 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 6.777e-05/0.2287, allocations: 13.42 kB / 0.7273 GB, free: 7.441 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.2288, allocations: 23.44 kB / 0.7274 GB, free: 7.418 MB / 0.545 GB
Notification: Performance of SimCode: time 3.61e-07/0.2288, allocations: 0 / 0.7274 GB, free: 7.418 MB / 0.545 GB
Notification: Performance of Templates: time 0.006265/0.235, allocations: 1.876 MB / 0.7292 GB, free: 5.555 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.0507841957733035]
Failed to read output from testmodel.py, exit status != 0:
0.24509644880890846 0.258363573 0.039262667
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4fa81497b0>