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.001313/0.001313, allocations: 115.8 kB / 16.37 MB, free: 6 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.001063/0.001063, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 275.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8815/0.8815, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 94.23 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1501, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002426/0.1525, allocations: 1.478 MB / 0.683 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1536, allocations: 0.689 MB / 0.6837 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.1536, allocations: 0 / 0.6837 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.984e-05/0.1537, allocations: 11.92 kB / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.1538, allocations: 11.86 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.1546, allocations: 346.2 kB / 0.6841 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1548, allocations: 175.6 kB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.1549, allocations: 4 kB / 0.6842 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.155, allocations: 75.81 kB / 0.6843 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.155, allocations: 47.81 kB / 0.6844 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1551, allocations: 12 kB / 0.6844 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.1554, allocations: 247.7 kB / 0.6846 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.1555, allocations: 35.89 kB / 0.6846 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.1556, allocations: 71.69 kB / 0.6847 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1559, allocations: 311.3 kB / 0.685 GB, free: 3.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1559, allocations: 0 / 0.685 GB, free: 3.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1559, allocations: 0 / 0.685 GB, free: 3.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1559, allocations: 0 / 0.685 GB, free: 3.984 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.0005422/0.1565, allocations: 467 kB / 0.6855 GB, free: 3.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1565, allocations: 8.031 kB / 0.6855 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.1566, allocations: 24.62 kB / 0.6855 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1568, allocations: 208.1 kB / 0.6857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1568, allocations: 12.38 kB / 0.6857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1569, allocations: 12.38 kB / 0.6857 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.157, allocations: 88.8 kB / 0.6858 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.157, allocations: 8.125 kB / 0.6858 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1571, allocations: 11.92 kB / 0.6858 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1571, allocations: 0 / 0.6858 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.1572, allocations: 39.98 kB / 0.6858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.1574, allocations: 251.3 kB / 0.6861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1576, allocations: 111.9 kB / 0.6862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/0.1577, allocations: 66.67 kB / 0.6863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1577, allocations: 7.938 kB / 0.6863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.1579, allocations: 139.9 kB / 0.6864 GB, free: 2.344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.1579, allocations: 0 / 0.6864 GB, free: 2.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003734/0.1582, allocations: 217.2 kB / 0.6866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.1583, allocations: 118.8 kB / 0.6867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.1584, allocations: 148.1 kB / 0.6869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.1585, allocations: 41.7 kB / 0.6869 GB, free: 1.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.1585, allocations: 92.7 kB / 0.687 GB, free: 1.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.1586, allocations: 51.34 kB / 0.687 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.1587, allocations: 65.69 kB / 0.6871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1588, allocations: 322.8 kB / 0.6874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.1589, allocations: 48.27 kB / 0.6875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1591, allocations: 181.9 kB / 0.6876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.1593, allocations: 134.5 kB / 0.6878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1593, allocations: 0 / 0.6878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002829/0.1596, allocations: 201.3 kB / 0.6879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1596, allocations: 8 kB / 0.688 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.1596, allocations: 7.984 kB / 0.688 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1596, allocations: 4.141 kB / 0.688 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.1597, allocations: 11.94 kB / 0.688 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1597, allocations: 4 kB / 0.688 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1599, allocations: 50.78 kB / 0.688 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.16, allocations: 12 kB / 0.688 GB, free: 0.5391 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.0001117/0.1601, allocations: 140 kB / 0.6882 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1601, allocations: 19.75 kB / 0.6882 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.1601, allocations: 12.72 kB / 0.6882 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1601, allocations: 7.984 kB / 0.6882 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1602, allocations: 4 kB / 0.6882 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1602, allocations: 3.938 kB / 0.6882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1603, allocations: 205.5 kB / 0.6884 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1603, allocations: 4 kB / 0.6884 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.1604, allocations: 11.98 kB / 0.6884 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1604, allocations: 0 / 0.6884 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1604, allocations: 8 kB / 0.6884 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1604, allocations: 0 / 0.6884 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1604, allocations: 0 / 0.6884 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2407/0.4011, allocations: 214.8 kB / 0.6886 GB, free: 18.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.4012, allocations: 93.5 kB / 0.6887 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.4012, allocations: 6.578 kB / 0.6887 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.4013, allocations: 8.797 kB / 0.6887 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.4013, allocations: 12.14 kB / 0.6888 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4013, allocations: 6.094 kB / 0.6888 GB, free: 17.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.378e-05/0.4014, allocations: 105.9 kB / 0.6889 GB, free: 17.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4014, allocations: 0.5312 kB / 0.6889 GB, free: 17.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004268/0.4019, allocations: 100.7 kB / 0.689 GB, free: 17.86 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.00029/0.4022, allocations: 204.8 kB / 0.6892 GB, free: 17.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.4025, allocations: 215 kB / 0.6894 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4025, allocations: 3.75 kB / 0.6894 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.4026, allocations: 59.64 kB / 0.6894 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.4028, allocations: 14.3 kB / 0.6894 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.4032, allocations: 245 kB / 0.6897 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.4033, allocations: 0.7106 MB / 0.6904 GB, free: 16.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.178e-05/0.4034, allocations: 12.27 kB / 0.6904 GB, free: 16.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.4034, allocations: 14.62 kB / 0.6904 GB, free: 16.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4034, allocations: 1.625 kB / 0.6904 GB, free: 16.82 MB / 494.1 MB Notification: Performance of Templates: time 0.006777/0.4102, allocations: 3.096 MB / 0.6934 GB, free: 16.68 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)