Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.00128/0.00128, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001344/0.001344, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.383/1.383, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 276.3 kB / 306.5 MB, free: 8.371 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.177/1.177, allocations: 180.9 MB / 0.53 GB, free: 14.5 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime")
translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 100.3 kB / 0.7308 GB, free: 38.6 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1813, allocations: 94.2 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002673/0.1839, allocations: 1.497 MB / 0.8243 GB, free: 340 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001256/0.1852, allocations: 0.7022 MB / 0.825 GB, free: 15.63 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.1852, allocations: 3.938 kB / 0.825 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 8.012e-05/0.1853, allocations: 11.92 kB / 0.825 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.1854, allocations: 11.81 kB / 0.825 GB, free: 15.6 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.1864, allocations: 359.1 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1866, allocations: 175.7 kB / 0.8255 GB, free: 15.08 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.1867, allocations: 7.984 kB / 0.8255 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/0.1868, allocations: 71.84 kB / 0.8256 GB, free: 15 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.1869, allocations: 51.75 kB / 0.8256 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.1869, allocations: 12 kB / 0.8256 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.1874, allocations: 291.7 kB / 0.8259 GB, free: 14.66 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.1874, allocations: 39.91 kB / 0.8259 GB, free: 14.62 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1876, allocations: 63.7 kB / 0.826 GB, free: 14.55 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.188, allocations: 299.1 kB / 0.8263 GB, free: 14.26 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.188, allocations: 0 / 0.8263 GB, free: 14.26 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.188, allocations: 0 / 0.8263 GB, free: 14.26 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.027e-05/0.188, allocations: 0 / 0.8263 GB, free: 14.26 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 18
 * Number of variables: 18
Notification: Performance of Generate backend data structure: time 0.0006441/0.1887, allocations: 423.3 kB / 0.8267 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1887, allocations: 8.625 kB / 0.8267 GB, free: 13.81 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.1888, allocations: 12.89 kB / 0.8267 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.189, allocations: 148.2 kB / 0.8269 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.189, allocations: 8.375 kB / 0.8269 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.189, allocations: 12.36 kB / 0.8269 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1892, allocations: 108.6 kB / 0.827 GB, free: 13.49 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1892, allocations: 192 / 0.827 GB, free: 13.49 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1892, allocations: 3.938 kB / 0.827 GB, free: 13.48 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1892, allocations: 4 kB / 0.827 GB, free: 13.48 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1894, allocations: 51.84 kB / 0.827 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.1896, allocations: 218.5 kB / 0.8272 GB, free: 13.17 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1898, allocations: 107.9 kB / 0.8274 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1899, allocations: 62.66 kB / 0.8274 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.1899, allocations: 4 kB / 0.8274 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.1902, allocations: 145.7 kB / 0.8276 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.1902, allocations: 0 / 0.8276 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=21): time 0.0004325/0.1906, allocations: 210.2 kB / 0.8278 GB, free: 12.59 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.1907, allocations: 118.8 kB / 0.8279 GB, free: 12.45 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1908, allocations: 139.7 kB / 0.828 GB, free: 12.3 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.1908, allocations: 37.7 kB / 0.828 GB, free: 12.26 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1909, allocations: 96.62 kB / 0.8281 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.191, allocations: 63.58 kB / 0.8282 GB, free: 12.1 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/0.1911, allocations: 61.69 kB / 0.8282 GB, free: 12.03 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001546/0.1912, allocations: 326.8 kB / 0.8286 GB, free: 11.7 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1913, allocations: 52.25 kB / 0.8286 GB, free: 11.65 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.1916, allocations: 182.8 kB / 0.8288 GB, free: 11.43 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.1918, allocations: 134.4 kB / 0.8289 GB, free: 11.29 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1918, allocations: 0 / 0.8289 GB, free: 11.29 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003187/0.1921, allocations: 201.6 kB / 0.8291 GB, free: 11.09 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1921, allocations: 7.984 kB / 0.8291 GB, free: 11.08 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.1921, allocations: 4 kB / 0.8291 GB, free: 11.07 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1922, allocations: 0 / 0.8291 GB, free: 11.07 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.1922, allocations: 15.94 kB / 0.8291 GB, free: 11.06 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1923, allocations: 8.062 kB / 0.8291 GB, free: 11.05 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1925, allocations: 51.83 kB / 0.8292 GB, free: 11 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1925, allocations: 8 kB / 0.8292 GB, free: 10.99 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (24):
 * Single equations (assignments): 21
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * 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.0001372/0.1926, allocations: 137.1 kB / 0.8293 GB, free: 10.85 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1927, allocations: 15.84 kB / 0.8293 GB, free: 10.83 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.1927, allocations: 20.7 kB / 0.8294 GB, free: 10.8 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1927, allocations: 4.141 kB / 0.8294 GB, free: 10.8 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1927, allocations: 4 kB / 0.8294 GB, free: 10.8 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1927, allocations: 3.984 kB / 0.8294 GB, free: 10.79 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1929, allocations: 180.5 kB / 0.8295 GB, free: 10.57 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1929, allocations: 0 / 0.8295 GB, free: 10.57 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.193, allocations: 15.94 kB / 0.8296 GB, free: 10.56 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.193, allocations: 4 kB / 0.8296 GB, free: 10.55 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.193, allocations: 8 kB / 0.8296 GB, free: 10.55 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.193, allocations: 0 / 0.8296 GB, free: 10.55 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.193, allocations: 0 / 0.8296 GB, free: 10.55 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1933, allocations: 222.6 kB / 0.8298 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.1933, allocations: 15.84 kB / 0.8298 GB, free: 10.29 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1933, allocations: 3.938 kB / 0.8298 GB, free: 10.29 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.1934, allocations: 15.92 kB / 0.8298 GB, free: 10.27 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.1934, allocations: 11.92 kB / 0.8298 GB, free: 10.26 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1934, allocations: 4 kB / 0.8298 GB, free: 10.25 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 8.005e-05/0.1935, allocations: 109.9 kB / 0.8299 GB, free: 10.15 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.1935, allocations: 0 / 0.8299 GB, free: 10.15 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003501/0.1939, allocations: 103.8 kB / 0.83 GB, free: 10.05 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext)
 * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (12):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 3
 * 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.0003152/0.1942, allocations: 199 kB / 0.8302 GB, free: 9.844 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003487/0.1945, allocations: 209 kB / 0.8304 GB, free: 9.621 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1945, allocations: 0 / 0.8304 GB, free: 9.621 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.1946, allocations: 43.92 kB / 0.8305 GB, free: 9.578 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.1948, allocations: 15.94 kB / 0.8305 GB, free: 9.562 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.1953, allocations: 248.6 kB / 0.8307 GB, free: 9.285 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1956, allocations: 0.7162 MB / 0.8314 GB, free: 8.543 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.487e-05/0.1957, allocations: 8.984 kB / 0.8314 GB, free: 8.531 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.1957, allocations: 11.44 kB / 0.8314 GB, free: 8.523 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.9e-07/0.1957, allocations: 4 kB / 0.8314 GB, free: 8.52 MB / 0.5762 GB
Notification: Performance of Templates: time 0.00693/0.2026, allocations: 3.188 MB / 0.8346 GB, free: 5.398 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.925762384198606]
Failed to read output from testmodel.py, exit status != 0:
0.21051954943686724 0.225496199 0.034531264
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f87a5ed97b0>