Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001411/0.001411, allocations: 114.8 kB / 19.69 MB, free: 2.199 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.001445/0.001445, allocations: 190.6 kB / 22.98 MB, free: 5.062 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.321/1.321, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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.8848/0.8848, allocations: 149.6 MB / 456.6 MB, free: 1.191 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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.83 kB / 0.6329 GB, free: 8.996 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1561, allocations: 87.88 MB / 0.7187 GB, free: 1.031 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001883/0.158, allocations: 0.7468 MB / 0.7194 GB, free: 296 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001348/0.1594, allocations: 1.08 MB / 0.7205 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.1594, allocations: 0 / 0.7205 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.1594, allocations: 7.938 kB / 0.7205 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.1595, allocations: 15.86 kB / 0.7205 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1598, allocations: 51.83 kB / 0.7205 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1599, allocations: 79.77 kB / 0.7206 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.16, allocations: 12.17 kB / 0.7206 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.111e-05/0.1601, allocations: 27.92 kB / 0.7206 GB, free: 15 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.1601, allocations: 39.83 kB / 0.7207 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1602, allocations: 4 kB / 0.7207 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.1602, allocations: 23.92 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.1602, allocations: 12 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.1603, allocations: 35.8 kB / 0.7208 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1604, allocations: 79.62 kB / 0.7208 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1604, allocations: 0 / 0.7208 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.463e-06/0.1604, allocations: 4 kB / 0.7208 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.709e-06/0.1604, allocations: 0 / 0.7208 GB, free: 14.8 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.0004971/0.1609, allocations: 298.1 kB / 0.7211 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.161, allocations: 12.03 kB / 0.7211 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.161, allocations: 8.891 kB / 0.7211 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1611, allocations: 122.4 kB / 0.7213 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1611, allocations: 4.375 kB / 0.7213 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1611, allocations: 4.375 kB / 0.7213 GB, free: 14.31 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1613, allocations: 70.16 kB / 0.7213 GB, free: 14.24 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1613, allocations: 3.938 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1614, allocations: 7.984 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.1614, allocations: 4 kB / 0.7213 GB, free: 14.22 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1615, allocations: 43.95 kB / 0.7214 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.1621, allocations: 295.7 kB / 0.7217 GB, free: 13.85 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1623, allocations: 50.56 kB / 0.7217 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/0.1624, allocations: 28.95 kB / 0.7217 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1624, allocations: 4 kB / 0.7217 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1626, allocations: 79.36 kB / 0.7218 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1626, allocations: 0 / 0.7218 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7): time 0.0003904/0.163, allocations: 137.6 kB / 0.722 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.163, allocations: 51.41 kB / 0.722 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.1631, allocations: 121.8 kB / 0.7221 GB, free: 13.33 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1632, allocations: 29.64 kB / 0.7221 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.1632, allocations: 100.1 kB / 0.7222 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1632, allocations: 15.84 kB / 0.7223 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.1633, allocations: 29.7 kB / 0.7223 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001279/0.1634, allocations: 322.8 kB / 0.7226 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1635, allocations: 27.98 kB / 0.7226 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1636, allocations: 73.98 kB / 0.7227 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.1639, allocations: 113.8 kB / 0.7228 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1639, allocations: 0 / 0.7228 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002966/0.1642, allocations: 141.5 kB / 0.7229 GB, free: 12.42 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1642, allocations: 4 kB / 0.7229 GB, free: 12.42 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1642, allocations: 4 kB / 0.7229 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1642, allocations: 0 / 0.7229 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1643, allocations: 19.92 kB / 0.723 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1643, allocations: 4 kB / 0.723 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.1644, allocations: 11.98 kB / 0.723 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1644, allocations: 8 kB / 0.723 GB, free: 12.37 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 11
 * 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.412e-05/0.1645, allocations: 125.8 kB / 0.7231 GB, free: 12.24 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.1645, allocations: 7.953 kB / 0.7231 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.1645, allocations: 8.375 kB / 0.7231 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1645, allocations: 0 / 0.7231 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1646, allocations: 0 / 0.7231 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1646, allocations: 7.984 kB / 0.7231 GB, free: 12.21 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.165, allocations: 341.5 kB / 0.7235 GB, free: 11.83 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.165, allocations: 7.938 kB / 0.7235 GB, free: 11.82 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.1651, allocations: 11.98 kB / 0.7235 GB, free: 11.81 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1651, allocations: 0 / 0.7235 GB, free: 11.81 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1651, allocations: 0 / 0.7235 GB, free: 11.81 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1651, allocations: 3.938 kB / 0.7235 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1651, allocations: 3.938 kB / 0.7235 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1653, allocations: 199.5 kB / 0.7237 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.1654, allocations: 7.953 kB / 0.7237 GB, free: 11.58 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1654, allocations: 4 kB / 0.7237 GB, free: 11.58 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.1655, allocations: 7.922 kB / 0.7237 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.1655, allocations: 7.984 kB / 0.7237 GB, free: 11.56 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1655, allocations: 4 kB / 0.7237 GB, free: 11.56 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.257e-05/0.1656, allocations: 99.2 kB / 0.7238 GB, free: 11.46 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1656, allocations: 0 / 0.7238 GB, free: 11.46 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002351/0.1658, allocations: 12 kB / 0.7238 GB, free: 11.45 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.0001249/0.1659, allocations: 104.2 kB / 0.7239 GB, free: 11.34 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.000275/0.1662, allocations: 79.86 kB / 0.724 GB, free: 11.26 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1662, allocations: 4 kB / 0.724 GB, free: 11.26 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1663, allocations: 32.36 kB / 0.724 GB, free: 11.23 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1665, allocations: 20.73 kB / 0.724 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.1669, allocations: 158.1 kB / 0.7242 GB, free: 11.03 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1671, allocations: 0.6924 MB / 0.7249 GB, free: 10.31 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.113e-05/0.1672, allocations: 4 kB / 0.7249 GB, free: 10.3 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.1672, allocations: 15.38 kB / 0.7249 GB, free: 10.29 MB / 0.545 GB
Notification: Performance of SimCode: time 3.51e-07/0.1672, allocations: 0 / 0.7249 GB, free: 10.29 MB / 0.545 GB
Notification: Performance of Templates: time 0.003453/0.1707, allocations: 0.9954 MB / 0.7259 GB, free: 9.309 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.104894955642521]
Failed to read output from testmodel.py, exit status != 0:
0.17845820728689432 0.191654118 0.028334604000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1c6929d7b0>