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.001583/0.001583, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001925/0.001925, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 281.4 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 92.72 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1449, allocations: 86.99 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002496/0.1474, allocations: 1.526 MB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1486, allocations: 0.7362 MB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.1486, allocations: 0 / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.711e-05/0.1487, allocations: 7.984 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.1488, allocations: 7.875 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.1496, allocations: 288.5 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1498, allocations: 167.6 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.1499, allocations: 4 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.1499, allocations: 63.78 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.15, allocations: 49.22 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.1501, allocations: 8 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.1504, allocations: 240.6 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.1505, allocations: 39.83 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.1506, allocations: 56.31 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.1509, allocations: 296.8 kB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.151, allocations: 0 / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.151, allocations: 0 / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.151, allocations: 0 / 0.6828 GB, free: 13.74 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.000587/0.1516, allocations: 483.8 kB / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1516, allocations: 12.02 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.1517, allocations: 12.84 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1519, allocations: 209.8 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1519, allocations: 4.375 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1519, allocations: 12.38 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1521, allocations: 104.6 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1521, allocations: 4.188 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1522, allocations: 7.938 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1522, allocations: 0 / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.447e-05/0.1523, allocations: 47.97 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.1525, allocations: 247.3 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.1527, allocations: 107.9 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1528, allocations: 74.64 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1528, allocations: 4 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.153, allocations: 145.1 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.1531, allocations: 3.938 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003979/0.1535, allocations: 209.5 kB / 0.6844 GB, free: 11.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.1536, allocations: 118.8 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1537, allocations: 143.6 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.1537, allocations: 41.64 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.1538, allocations: 96.69 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.1539, allocations: 51.36 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/0.1539, allocations: 65.69 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1541, allocations: 326.8 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.1542, allocations: 52.25 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1544, allocations: 184.5 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1546, allocations: 126.5 kB / 0.6856 GB, free: 10.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1546, allocations: 0 / 0.6856 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002952/0.1549, allocations: 201.3 kB / 0.6858 GB, free: 10.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1549, allocations: 7.938 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.1549, allocations: 4 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.155, allocations: 4 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.155, allocations: 15.98 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1551, allocations: 7.938 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.1553, allocations: 50.05 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1553, allocations: 8 kB / 0.6859 GB, free: 10.28 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.0001315/0.1554, allocations: 136.7 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1555, allocations: 23.73 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.1555, allocations: 8.719 kB / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1555, allocations: 4 kB / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1555, allocations: 0 / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1555, allocations: 4 kB / 0.686 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1557, allocations: 213.5 kB / 0.6862 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1557, allocations: 4 kB / 0.6862 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.1558, allocations: 8 kB / 0.6863 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1558, allocations: 0 / 0.6863 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1558, allocations: 11.98 kB / 0.6863 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1558, allocations: 3.938 kB / 0.6863 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1558, allocations: 144 / 0.6863 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.1561, allocations: 218.5 kB / 0.6865 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.1561, allocations: 88.95 kB / 0.6866 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1562, allocations: 7.984 kB / 0.6866 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.1562, allocations: 7.938 kB / 0.6866 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1563, allocations: 11.98 kB / 0.6866 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.1563, allocations: 4 kB / 0.6866 GB, free: 9.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.396e-05/0.1564, allocations: 114 kB / 0.6867 GB, free: 9.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1564, allocations: 4 kB / 0.6867 GB, free: 9.328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.1567, allocations: 95.98 kB / 0.6868 GB, free: 9.234 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.000302/0.157, allocations: 199.8 kB / 0.687 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.1574, allocations: 222 kB / 0.6872 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1574, allocations: 0 / 0.6872 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.1575, allocations: 51.92 kB / 0.6872 GB, free: 8.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.1576, allocations: 11.91 kB / 0.6873 GB, free: 8.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.1582, allocations: 282.5 kB / 0.6875 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1586, allocations: 0.7165 MB / 0.6882 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.1587, allocations: 8.891 kB / 0.6882 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.1587, allocations: 19.42 kB / 0.6883 GB, free: 7.656 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1587, allocations: 0 / 0.6883 GB, free: 7.656 MB / 494.1 MB Notification: Performance of Templates: time 0.006265/0.165, allocations: 2.967 MB / 0.6912 GB, free: 4.75 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)