Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.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.001936/0.001936, allocations: 113.2 kB / 19.59 MB, free: 2.281 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.002293/0.002293, allocations: 193.2 kB / 22.85 MB, free: 5.664 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.529/1.529, 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.9564/0.9564, allocations: 149.5 MB / 456.3 MB, free: 1.285 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 69.83 kB / 0.6324 GB, free: 9.137 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2561, allocations: 87.88 MB / 0.7183 GB, free: 1.18 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002941/0.259, allocations: 0.6931 MB / 0.7189 GB, free: 500 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001638/0.2607, allocations: 0.8006 MB / 0.7197 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.2607, allocations: 0 / 0.7197 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.2608, allocations: 7.938 kB / 0.7197 GB, free: 15.67 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.2609, allocations: 7.938 kB / 0.7197 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 8.024e-05/0.2609, allocations: 15.97 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2611, allocations: 43.8 kB / 0.7198 GB, free: 15.6 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2612, allocations: 11.98 kB / 0.7198 GB, free: 15.59 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.2613, allocations: 27.86 kB / 0.7198 GB, free: 15.56 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.2614, allocations: 19.91 kB / 0.7198 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2614, allocations: 4 kB / 0.7198 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.2614, allocations: 4 kB / 0.7198 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.2614, allocations: 4 kB / 0.7199 GB, free: 15.53 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.2615, allocations: 27.86 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2616, allocations: 35.88 kB / 0.7199 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2616, allocations: 0 / 0.7199 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of FrontEnd: time 2.775e-06/0.2616, allocations: 0 / 0.7199 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.15e-06/0.2616, allocations: 0 / 0.7199 GB, free: 15.47 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0007663/0.2624, allocations: 286.2 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.2624, allocations: 12.62 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.2625, allocations: 4.891 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.2627, allocations: 122.4 kB / 0.7203 GB, free: 15 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2627, allocations: 4.359 kB / 0.7203 GB, free: 14.99 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2627, allocations: 4.375 kB / 0.7203 GB, free: 14.99 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.2631, allocations: 66.22 kB / 0.7204 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2631, allocations: 192 / 0.7204 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.2631, allocations: 3.938 kB / 0.7204 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2631, allocations: 0 / 0.7204 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.2636, allocations: 67.92 kB / 0.7205 GB, free: 14.85 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.2641, allocations: 244 kB / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.2645, allocations: 50.48 kB / 0.7207 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.2648, allocations: 48.91 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2648, allocations: 0 / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.2648, allocations: 30.56 kB / 0.7208 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.2648, allocations: 4 kB / 0.7208 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0009528/0.2658, allocations: 133.5 kB / 0.7209 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.2658, allocations: 51.41 kB / 0.721 GB, free: 14.21 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.266, allocations: 105.8 kB / 0.7211 GB, free: 14.1 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.266, allocations: 29.7 kB / 0.7211 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.2661, allocations: 88.09 kB / 0.7212 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.2661, allocations: 15.83 kB / 0.7212 GB, free: 13.96 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.2662, allocations: 13.72 kB / 0.7212 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0002243/0.2664, allocations: 322.8 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.2667, allocations: 27.97 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.2669, allocations: 31.95 kB / 0.7216 GB, free: 13.56 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.2674, allocations: 68.8 kB / 0.7217 GB, free: 13.49 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.2674, allocations: 7.938 kB / 0.7217 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005918/0.268, allocations: 105.5 kB / 0.7218 GB, free: 13.37 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.2681, allocations: 8 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2681, allocations: 0 / 0.7218 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.2681, allocations: 3.938 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.2683, allocations: 19.98 kB / 0.7218 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2683, allocations: 320 / 0.7218 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.2684, allocations: 7.984 kB / 0.7218 GB, free: 13.33 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2685, allocations: 4 kB / 0.7218 GB, free: 13.33 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000142/0.2686, allocations: 113.8 kB / 0.7219 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.2686, allocations: 4 kB / 0.7219 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.2687, allocations: 7.984 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2687, allocations: 336 / 0.7219 GB, free: 13.19 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2687, allocations: 4 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2687, allocations: 0 / 0.7219 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.269, allocations: 144.7 kB / 0.7221 GB, free: 13 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.269, allocations: 0 / 0.7221 GB, free: 13 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.2692, allocations: 19.97 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2692, allocations: 0 / 0.7221 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2692, allocations: 3.938 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2692, allocations: 0 / 0.7221 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2692, allocations: 3.984 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.2699, allocations: 203.4 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.2699, allocations: 0 / 0.7223 GB, free: 12.76 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2699, allocations: 0 / 0.7223 GB, free: 12.76 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.2701, allocations: 15.97 kB / 0.7223 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.2702, allocations: 4 kB / 0.7223 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2702, allocations: 8 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.699e-05/0.2702, allocations: 83.27 kB / 0.7224 GB, free: 12.65 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1e-07/0.2702, allocations: 0 / 0.7224 GB, free: 12.65 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003977/0.2706, allocations: 15.94 kB / 0.7224 GB, free: 12.63 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: 0 ()
 * Number of discrete states: 0 ()
 * 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.0001926/0.2708, allocations: 91.25 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005424/0.2714, allocations: 75.86 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2714, allocations: 0 / 0.7226 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.00023/0.2716, allocations: 35.95 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.2721, allocations: 8.922 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.2726, allocations: 121.5 kB / 0.7227 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.273, allocations: 0.6846 MB / 0.7234 GB, free: 11.56 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 5.053e-05/0.2731, allocations: 3.984 kB / 0.7234 GB, free: 11.56 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.2731, allocations: 11.44 kB / 0.7234 GB, free: 11.55 MB / 0.545 GB
Notification: Performance of SimCode: time 5.21e-07/0.2731, allocations: 0 / 0.7234 GB, free: 11.55 MB / 0.545 GB
Notification: Performance of Templates: time 0.004824/0.2779, allocations: 0.7007 MB / 0.7241 GB, free: 10.86 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.017094719223678]
Failed to read output from testmodel.py, exit status != 0:
0.28886630665510893 0.30451062999999995 0.039469695
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f598c7c17b0>