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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 192 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 286.5 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 90.47 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1482, allocations: 86.99 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002437/0.1507, allocations: 1.532 MB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1517, allocations: 0.7012 MB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.1517, allocations: 0 / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.972e-05/0.1518, allocations: 3.984 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.1519, allocations: 15.86 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.1527, allocations: 305.1 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1529, allocations: 171.6 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.1529, allocations: 8 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.153, allocations: 79.75 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.1531, allocations: 47.81 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1531, allocations: 12 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.1534, allocations: 243.8 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.1535, allocations: 43.89 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.34e-05/0.1536, allocations: 59.7 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.1539, allocations: 303.6 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1539, allocations: 0 / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1539, allocations: 4 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1539, allocations: 0 / 0.683 GB, free: 13.55 MB / 494.1 MB 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.0005554/0.1545, allocations: 482.9 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.1545, allocations: 8.031 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.1546, allocations: 16.84 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1548, allocations: 208.1 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1548, allocations: 4.375 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1548, allocations: 12.38 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.155, allocations: 118.6 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.155, allocations: 192 / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1551, allocations: 3.938 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1551, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.1552, allocations: 47.97 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.1554, allocations: 247.3 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1555, allocations: 103.9 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1556, allocations: 78.59 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1557, allocations: 0 / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.1559, allocations: 145.7 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.1559, allocations: 3.938 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003698/0.1563, allocations: 209.5 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.1563, allocations: 110.8 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1565, allocations: 149.7 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.1565, allocations: 37.7 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.1566, allocations: 96.69 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.1566, allocations: 51.36 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.1567, allocations: 61.69 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1568, allocations: 326.8 kB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.1569, allocations: 52.25 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1571, allocations: 180.5 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.1573, allocations: 134.5 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1573, allocations: 0 / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002787/0.1576, allocations: 193.4 kB / 0.686 GB, free: 10.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1576, allocations: 13.95 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.1576, allocations: 12 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1577, allocations: 3.984 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.1577, allocations: 12 kB / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1578, allocations: 7.938 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.158, allocations: 47.78 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.158, allocations: 8 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB 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.0001181/0.1581, allocations: 137.3 kB / 0.6862 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1582, allocations: 23.75 kB / 0.6862 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.1582, allocations: 12.7 kB / 0.6863 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1582, allocations: 4 kB / 0.6863 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1582, allocations: 0 / 0.6863 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1582, allocations: 4 kB / 0.6863 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1584, allocations: 209.5 kB / 0.6865 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1584, allocations: 0 / 0.6865 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.1584, allocations: 12 kB / 0.6865 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1584, allocations: 0 / 0.6865 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1585, allocations: 7.938 kB / 0.6865 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.1585, allocations: 7.938 kB / 0.6865 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1585, allocations: 8 kB / 0.6865 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.1588, allocations: 211.6 kB / 0.6867 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.1588, allocations: 88.95 kB / 0.6868 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1588, allocations: 8 kB / 0.6868 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.1589, allocations: 11.92 kB / 0.6868 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1589, allocations: 11.98 kB / 0.6868 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.159, allocations: 8 kB / 0.6868 GB, free: 9.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.166e-05/0.159, allocations: 107.2 kB / 0.6869 GB, free: 9.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.159, allocations: 0 / 0.6869 GB, free: 9.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000318/0.1594, allocations: 99.98 kB / 0.687 GB, free: 9.039 MB / 494.1 MB 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.0002609/0.1596, allocations: 199.1 kB / 0.6872 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.1599, allocations: 210 kB / 0.6874 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1599, allocations: 4 kB / 0.6874 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.16, allocations: 64.09 kB / 0.6875 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.1602, allocations: 17.81 kB / 0.6875 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.1606, allocations: 272.9 kB / 0.6878 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1609, allocations: 0.7125 MB / 0.6884 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.855e-05/0.1609, allocations: 12.88 kB / 0.6885 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.161, allocations: 15.44 kB / 0.6885 GB, free: 7.465 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.161, allocations: 0 / 0.6885 GB, free: 7.465 MB / 494.1 MB Notification: Performance of Templates: time 0.005408/0.1664, allocations: 3.058 MB / 0.6915 GB, free: 4.473 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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)