Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009367, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.005728/0.005728, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 270.6 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9343/0.9343, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004178, allocations: 10.94 kB / 0.5986 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001432/0.1493, allocations: 1.187 MB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1505, allocations: 0.7182 MB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.1505, allocations: 4.562 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.377e-05/0.1506, allocations: 9.328 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.1506, allocations: 15.86 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.1514, allocations: 282.7 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1516, allocations: 163.6 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.1516, allocations: 5.688 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.1517, allocations: 63.83 kB / 0.6875 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.1518, allocations: 47.77 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1518, allocations: 10.75 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.1521, allocations: 239.8 kB / 0.6878 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.1522, allocations: 39.88 kB / 0.6878 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.1523, allocations: 81.42 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.1526, allocations: 287.6 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.1526, allocations: 0 / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1527, allocations: 0 / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1527, allocations: 0.5 kB / 0.6882 GB, free: 11.9 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.0005207/0.1532, allocations: 458.2 kB / 0.6886 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.1532, allocations: 8.031 kB / 0.6886 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.1533, allocations: 12.84 kB / 0.6886 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1535, allocations: 216 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1535, allocations: 13.06 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1535, allocations: 8.375 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1537, allocations: 100.9 kB / 0.689 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1537, allocations: 192 / 0.689 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1537, allocations: 11.86 kB / 0.689 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1537, allocations: 0 / 0.689 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.1538, allocations: 44.61 kB / 0.689 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.1541, allocations: 249.8 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.1542, allocations: 117.9 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.1543, allocations: 66.67 kB / 0.6894 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1544, allocations: 3.938 kB / 0.6894 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.1546, allocations: 141 kB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.1546, allocations: 5.25 kB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.000368/0.155, allocations: 213.4 kB / 0.6898 GB, free: 10.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.155, allocations: 111.6 kB / 0.6899 GB, free: 9.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1551, allocations: 143.8 kB / 0.69 GB, free: 9.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.1552, allocations: 41.7 kB / 0.6901 GB, free: 9.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.1553, allocations: 96.7 kB / 0.6901 GB, free: 9.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.1553, allocations: 55.33 kB / 0.6902 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1554, allocations: 29.7 kB / 0.6902 GB, free: 9.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1555, allocations: 326.8 kB / 0.6905 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1556, allocations: 56.25 kB / 0.6906 GB, free: 9.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1558, allocations: 176.5 kB / 0.6908 GB, free: 8.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.156, allocations: 130.5 kB / 0.6909 GB, free: 8.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.156, allocations: 0 / 0.6909 GB, free: 8.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002882/0.1563, allocations: 205.2 kB / 0.6911 GB, free: 8.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1563, allocations: 4 kB / 0.6911 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.1564, allocations: 15.98 kB / 0.6911 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1564, allocations: 4 kB / 0.6911 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.1565, allocations: 15.94 kB / 0.6911 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1565, allocations: 4 kB / 0.6911 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1567, allocations: 51.8 kB / 0.6912 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1567, allocations: 11.92 kB / 0.6912 GB, free: 8.496 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.0001109/0.1568, allocations: 145.3 kB / 0.6913 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1569, allocations: 15.75 kB / 0.6913 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.1569, allocations: 16.7 kB / 0.6914 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1569, allocations: 4 kB / 0.6914 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1569, allocations: 0 / 0.6914 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1569, allocations: 144 / 0.6914 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1571, allocations: 217.4 kB / 0.6916 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1571, allocations: 3.938 kB / 0.6916 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.1572, allocations: 11.98 kB / 0.6916 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1572, allocations: 8 kB / 0.6916 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1572, allocations: 0 / 0.6916 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1572, allocations: 4 kB / 0.6916 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1572, allocations: 0 / 0.6916 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1575, allocations: 213.8 kB / 0.6918 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.1575, allocations: 92.86 kB / 0.6919 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1576, allocations: 8 kB / 0.6919 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.1576, allocations: 15.86 kB / 0.6919 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1577, allocations: 11.98 kB / 0.6919 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1577, allocations: 8 kB / 0.6919 GB, free: 7.641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.831e-05/0.1578, allocations: 103.3 kB / 0.692 GB, free: 7.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1578, allocations: 0 / 0.692 GB, free: 7.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1581, allocations: 95.98 kB / 0.6921 GB, free: 7.445 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.0003197/0.1584, allocations: 208 kB / 0.6923 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.1588, allocations: 213 kB / 0.6925 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1588, allocations: 0 / 0.6925 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.1589, allocations: 59.91 kB / 0.6926 GB, free: 6.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.159, allocations: 10.25 kB / 0.6926 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.1595, allocations: 280.3 kB / 0.6928 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1598, allocations: 0.7048 MB / 0.6935 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.1598, allocations: 12.88 kB / 0.6935 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.1598, allocations: 19.44 kB / 0.6936 GB, free: 5.867 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1599, allocations: 0 / 0.6936 GB, free: 5.867 MB / 494.1 MB Notification: Performance of Templates: time 0.005963/0.1658, allocations: 2.946 MB / 0.6964 GB, free: 2.98 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)