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.001283/0.001284, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 286.8 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9241/0.9241, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 96.83 kB / 0.5952 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.147, allocations: 86.98 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002501/0.1495, allocations: 1.472 MB / 0.6816 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1506, allocations: 0.6921 MB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.1506, allocations: 3.938 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.928e-05/0.1507, allocations: 7.922 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.1508, allocations: 19.84 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.1516, allocations: 342.1 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1519, allocations: 175.6 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1519, allocations: 4.688 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.063e-05/0.152, allocations: 68.72 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.1521, allocations: 47.81 kB / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1521, allocations: 12.84 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.1524, allocations: 259.7 kB / 0.6832 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.1525, allocations: 33.12 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.1526, allocations: 67.7 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.153, allocations: 295.6 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.153, allocations: 0 / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.153, allocations: 4 kB / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.153, allocations: 0 / 0.6836 GB, free: 13.19 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.0005738/0.1536, allocations: 478.9 kB / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1536, allocations: 8.031 kB / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.1537, allocations: 16.84 kB / 0.684 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1539, allocations: 204.2 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1539, allocations: 4.375 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.1539, allocations: 20.31 kB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1541, allocations: 106.5 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1541, allocations: 192 / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1541, allocations: 7.922 kB / 0.6844 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1542, allocations: 4 kB / 0.6844 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.1543, allocations: 43.91 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.1545, allocations: 251.4 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1546, allocations: 103.8 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1548, allocations: 70.7 kB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.1548, allocations: 4 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.155, allocations: 150.4 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.155, allocations: 0 / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003807/0.1554, allocations: 205.5 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.1555, allocations: 122.8 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1556, allocations: 148 kB / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1556, allocations: 41.69 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.1557, allocations: 92.7 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.1558, allocations: 51.36 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.1558, allocations: 61.69 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.156, allocations: 330.8 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.1561, allocations: 48.27 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.1563, allocations: 180.5 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1564, allocations: 134.5 kB / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1564, allocations: 0 / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002796/0.1567, allocations: 205.2 kB / 0.6865 GB, free: 9.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1568, allocations: 8 kB / 0.6865 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.1568, allocations: 4 kB / 0.6865 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1568, allocations: 0 / 0.6865 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.1569, allocations: 19.92 kB / 0.6866 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1569, allocations: 0 / 0.6866 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.1571, allocations: 51.73 kB / 0.6866 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1571, allocations: 12 kB / 0.6866 GB, free: 9.73 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.0001202/0.1573, allocations: 145.5 kB / 0.6868 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1573, allocations: 15.75 kB / 0.6868 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.1573, allocations: 16.72 kB / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1573, allocations: 0 / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1573, allocations: 4 kB / 0.6868 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1573, allocations: 0 / 0.6868 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1575, allocations: 213.4 kB / 0.687 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1575, allocations: 0 / 0.687 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.1576, allocations: 11.94 kB / 0.687 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1576, allocations: 7.984 kB / 0.687 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1576, allocations: 8 kB / 0.687 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1576, allocations: 4 kB / 0.687 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1576, allocations: 0 / 0.687 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1579, allocations: 212.6 kB / 0.6872 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1579, allocations: 96.88 kB / 0.6873 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.158, allocations: 0 / 0.6873 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.158, allocations: 15.94 kB / 0.6873 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.1581, allocations: 7.984 kB / 0.6873 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1581, allocations: 4 kB / 0.6873 GB, free: 8.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.1581, allocations: 107.2 kB / 0.6874 GB, free: 8.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1581, allocations: 0 / 0.6874 GB, free: 8.781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.1585, allocations: 99.98 kB / 0.6875 GB, free: 8.684 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.0002628/0.1587, allocations: 195.1 kB / 0.6877 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.1591, allocations: 229.2 kB / 0.6879 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1591, allocations: 0 / 0.6879 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.1592, allocations: 55.92 kB / 0.688 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.1593, allocations: 15.09 kB / 0.688 GB, free: 8.176 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.1598, allocations: 253.5 kB / 0.6883 GB, free: 7.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.16, allocations: 0.7045 MB / 0.6889 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.1601, allocations: 12.88 kB / 0.689 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.1601, allocations: 15.44 kB / 0.689 GB, free: 7.137 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1601, allocations: 0 / 0.689 GB, free: 7.137 MB / 494.1 MB Notification: Performance of Templates: time 0.005489/0.1656, allocations: 3.094 MB / 0.692 GB, free: 4.105 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)