Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001828/0.001828, 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.002317/0.002317, allocations: 187.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.456/1.456, 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.9793/0.9793, allocations: 149.5 MB / 456.3 MB, free: 1.332 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 59.81 kB / 0.6324 GB, free: 9.164 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1811, allocations: 87.88 MB / 0.7182 GB, free: 1.207 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002317/0.1834, allocations: 0.7467 MB / 0.7189 GB, free: 476 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001516/0.1849, allocations: 1.084 MB / 0.72 GB, free: 15.37 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.185, allocations: 0 / 0.72 GB, free: 15.37 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.185, allocations: 3.938 kB / 0.72 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.1851, allocations: 15.86 kB / 0.72 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1854, allocations: 55.83 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1855, allocations: 75.78 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1857, allocations: 20.09 kB / 0.7202 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.1858, allocations: 27.92 kB / 0.7202 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.1858, allocations: 31.84 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1858, allocations: 8 kB / 0.7202 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.1859, allocations: 23.97 kB / 0.7203 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.1859, allocations: 8 kB / 0.7203 GB, free: 15.1 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.186, allocations: 31.8 kB / 0.7203 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1862, allocations: 87.62 kB / 0.7204 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1862, allocations: 0 / 0.7204 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.1862, allocations: 0 / 0.7204 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.182e-06/0.1862, allocations: 0 / 0.7204 GB, free: 14.98 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.0005688/0.1867, allocations: 304 kB / 0.7207 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1868, allocations: 8.031 kB / 0.7207 GB, free: 14.65 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1868, allocations: 8.891 kB / 0.7207 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.187, allocations: 114.4 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.187, allocations: 12.38 kB / 0.7208 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.187, allocations: 4.375 kB / 0.7208 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1872, allocations: 70.16 kB / 0.7209 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1872, allocations: 3.938 kB / 0.7209 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1872, allocations: 8 kB / 0.7209 GB, free: 14.4 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1872, allocations: 0 / 0.7209 GB, free: 14.4 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1874, allocations: 39.95 kB / 0.7209 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.1881, allocations: 299.7 kB / 0.7212 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1883, allocations: 50.55 kB / 0.7213 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1884, allocations: 32.95 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1884, allocations: 4 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.1887, allocations: 75.38 kB / 0.7214 GB, free: 13.84 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1887, allocations: 0 / 0.7214 GB, free: 13.84 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7): time 0.0004513/0.1891, allocations: 133.6 kB / 0.7215 GB, free: 13.71 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.1892, allocations: 59.39 kB / 0.7216 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1893, allocations: 113.8 kB / 0.7217 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1893, allocations: 33.7 kB / 0.7217 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.1894, allocations: 96.08 kB / 0.7218 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.1894, allocations: 19.78 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.1895, allocations: 29.7 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001468/0.1896, allocations: 330.7 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1897, allocations: 23.98 kB / 0.7222 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.1899, allocations: 73.98 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1901, allocations: 109.8 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1901, allocations: 0 / 0.7223 GB, free: 12.75 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003299/0.1905, allocations: 137.6 kB / 0.7225 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1905, allocations: 7.984 kB / 0.7225 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1905, allocations: 0 / 0.7225 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1905, allocations: 4 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1906, allocations: 19.92 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.1907, allocations: 4 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.1908, allocations: 7.984 kB / 0.7225 GB, free: 12.56 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1908, allocations: 8 kB / 0.7225 GB, free: 12.55 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 0.0001043/0.1909, allocations: 127.7 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.1909, allocations: 7.891 kB / 0.7227 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.1909, allocations: 12.38 kB / 0.7227 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1909, allocations: 0 / 0.7227 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1909, allocations: 0 / 0.7227 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1909, allocations: 3.984 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.1915, allocations: 345.5 kB / 0.723 GB, free: 12.01 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1915, allocations: 0 / 0.723 GB, free: 12.01 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.1915, allocations: 19.92 kB / 0.723 GB, free: 11.99 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1915, allocations: 0 / 0.723 GB, free: 11.99 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1915, allocations: 0 / 0.723 GB, free: 11.99 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1915, allocations: 3.938 kB / 0.723 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1915, allocations: 0 / 0.723 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1918, allocations: 199.5 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.1919, allocations: 15.88 kB / 0.7232 GB, free: 11.76 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1919, allocations: 8 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.192, allocations: 11.92 kB / 0.7232 GB, free: 11.74 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.192, allocations: 3.984 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.192, allocations: 8 kB / 0.7233 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.784e-05/0.1921, allocations: 91.88 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1921, allocations: 0 / 0.7233 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002647/0.1923, allocations: 15.98 kB / 0.7234 GB, free: 11.62 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.0002316/0.1926, allocations: 114 kB / 0.7235 GB, free: 11.5 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003472/0.1929, allocations: 79.86 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1929, allocations: 0 / 0.7235 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.193, allocations: 27.98 kB / 0.7236 GB, free: 11.4 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1933, allocations: 22.05 kB / 0.7236 GB, free: 11.38 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.1938, allocations: 158.7 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1942, allocations: 0.6924 MB / 0.7244 GB, free: 10.48 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.54e-05/0.1942, allocations: 4 kB / 0.7244 GB, free: 10.47 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.1942, allocations: 15.44 kB / 0.7244 GB, free: 10.46 MB / 0.545 GB
Notification: Performance of SimCode: time 2.8e-07/0.1942, allocations: 0 / 0.7244 GB, free: 10.46 MB / 0.545 GB
Notification: Performance of Templates: time 0.003976/0.1982, allocations: 0.985 MB / 0.7254 GB, free: 9.488 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.724880856461823]
Failed to read output from testmodel.py, exit status != 0:
0.20677452068775892 0.220969461 0.031738087000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f586d2717b0>