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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 214.8 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00266/0.00266, allocations: 281.5 kB / 313.5 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.204/1.204, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002903/0.002903, allocations: 100.9 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.172, allocations: 95.38 MB / 0.8339 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00301/0.175, allocations: 1.524 MB / 0.8354 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1762, allocations: 0.7024 MB / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.1763, allocations: 3.938 kB / 0.8361 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.616e-05/0.1764, allocations: 7.922 kB / 0.8361 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.1765, allocations: 23.78 kB / 0.8361 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1775, allocations: 360.4 kB / 0.8365 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.1778, allocations: 175.6 kB / 0.8366 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.1778, allocations: 0 / 0.8366 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1779, allocations: 75.88 kB / 0.8367 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.178, allocations: 51.75 kB / 0.8368 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.1781, allocations: 12 kB / 0.8368 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.1785, allocations: 291.7 kB / 0.8371 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.1786, allocations: 39.91 kB / 0.8371 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1787, allocations: 63.7 kB / 0.8372 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.1792, allocations: 311 kB / 0.8374 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1792, allocations: 0 / 0.8374 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1792, allocations: 0 / 0.8374 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1792, allocations: 0 / 0.8374 GB, free: 4.562 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.1799, allocations: 405.3 kB / 0.8378 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1799, allocations: 8.75 kB / 0.8378 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.1799, allocations: 12.89 kB / 0.8379 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1802, allocations: 150.3 kB / 0.838 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1802, allocations: 4.375 kB / 0.838 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.1802, allocations: 20.36 kB / 0.838 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1804, allocations: 102.6 kB / 0.8381 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1804, allocations: 192 / 0.8381 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1804, allocations: 7.875 kB / 0.8381 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1804, allocations: 0 / 0.8381 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1805, allocations: 51.91 kB / 0.8382 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.1808, allocations: 222.4 kB / 0.8384 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.181, allocations: 99.83 kB / 0.8385 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.1811, allocations: 62.7 kB / 0.8385 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.1811, allocations: 0 / 0.8385 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1814, allocations: 147.8 kB / 0.8387 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.1814, allocations: 0 / 0.8387 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0004347/0.1818, allocations: 214.2 kB / 0.8389 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.1819, allocations: 114.8 kB / 0.839 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.182, allocations: 147.7 kB / 0.8391 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.1821, allocations: 41.69 kB / 0.8392 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.1821, allocations: 92.64 kB / 0.8393 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.1822, allocations: 59.52 kB / 0.8393 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.1823, allocations: 65.69 kB / 0.8394 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1825, allocations: 326.8 kB / 0.8397 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1826, allocations: 52.25 kB / 0.8397 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.1828, allocations: 188.4 kB / 0.8399 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.183, allocations: 126.5 kB / 0.8401 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.183, allocations: 3.938 kB / 0.8401 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003122/0.1833, allocations: 201.4 kB / 0.8402 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1833, allocations: 12 kB / 0.8403 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.1833, allocations: 4 kB / 0.8403 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1834, allocations: 0 / 0.8403 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.1834, allocations: 15.98 kB / 0.8403 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.1835, allocations: 4 kB / 0.8403 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1837, allocations: 47.84 kB / 0.8403 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1837, allocations: 4 kB / 0.8403 GB, free: 1.312 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.0001327/0.1838, allocations: 149.2 kB / 0.8405 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1838, allocations: 19.84 kB / 0.8405 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.1839, allocations: 16.72 kB / 0.8405 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1839, allocations: 0 / 0.8405 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1839, allocations: 0 / 0.8405 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.1839, allocations: 4 kB / 0.8405 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.1841, allocations: 184.5 kB / 0.8407 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1841, allocations: 0 / 0.8407 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.1841, allocations: 11.94 kB / 0.8407 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1841, allocations: 0 / 0.8407 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1841, allocations: 7.984 kB / 0.8407 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1841, allocations: 4 kB / 0.8407 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1841, allocations: 4 kB / 0.8407 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.1844, allocations: 206.6 kB / 0.8409 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.1845, allocations: 19.84 kB / 0.8409 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1845, allocations: 7.984 kB / 0.8409 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.1846, allocations: 11.94 kB / 0.8409 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.1846, allocations: 15.92 kB / 0.841 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1846, allocations: 4 kB / 0.841 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.932e-05/0.1847, allocations: 109.3 kB / 0.8411 GB, free: 484 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1847, allocations: 0 / 0.8411 GB, free: 484 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003573/0.185, allocations: 99.8 kB / 0.8412 GB, free: 384 kB / 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.0003026/0.1853, allocations: 191 kB / 0.8413 GB, free: 184 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.1857, allocations: 213 kB / 0.8416 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1857, allocations: 7.938 kB / 0.8416 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.1858, allocations: 47.91 kB / 0.8416 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.186, allocations: 13.81 kB / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.1865, allocations: 278.2 kB / 0.8419 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1868, allocations: 0.7162 MB / 0.8426 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.1868, allocations: 15.44 kB / 0.8426 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1868, allocations: 0 / 0.8426 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.005485/0.1923, allocations: 3.126 MB / 0.8457 GB, free: 11.73 MB / 0.5919 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: 8.485190497012809] Failed to read output from testmodel.py, exit status != 0: 0.19948614295572042 0.21524183600000002 0.032919355000000004 Calling exit ...