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.001048/0.001048, 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.001058/0.001058, allocations: 197.5 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 293.8 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 95.69 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002452/0.1465, allocations: 1.544 MB / 0.6809 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1476, allocations: 0.7209 MB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.1477, allocations: 1.875 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.692e-05/0.1478, allocations: 11.92 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.1478, allocations: 11.91 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.1486, allocations: 279.1 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1487, allocations: 164.4 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.1488, allocations: 8.609 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.1489, allocations: 65.17 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.149, allocations: 51.81 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.149, allocations: 4 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.1493, allocations: 244.4 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.1494, allocations: 31.91 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.1494, allocations: 59.7 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.1498, allocations: 299.6 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1498, allocations: 3.938 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1498, allocations: 0 / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1498, allocations: 3.938 kB / 0.6828 GB, free: 13.7 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.0005656/0.1504, allocations: 471 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1504, allocations: 12.03 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.1505, allocations: 8.844 kB / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1507, allocations: 213.9 kB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1507, allocations: 8.375 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1507, allocations: 16.31 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1509, allocations: 96.64 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1509, allocations: 192 / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1509, allocations: 11.94 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1509, allocations: 3.984 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.767e-05/0.151, allocations: 39.92 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.1513, allocations: 255.4 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1514, allocations: 111.9 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.1515, allocations: 74.67 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.1515, allocations: 0 / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.1518, allocations: 141.7 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.1518, allocations: 0 / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003819/0.1522, allocations: 217.7 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.1522, allocations: 118.8 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1524, allocations: 147.7 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1524, allocations: 41.7 kB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.1525, allocations: 92.7 kB / 0.6848 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.1525, allocations: 59.33 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.1526, allocations: 57.69 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1527, allocations: 326.8 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.1528, allocations: 56.2 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.153, allocations: 172.5 kB / 0.6855 GB, free: 10.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1532, allocations: 134.5 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1532, allocations: 4 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002889/0.1535, allocations: 201.3 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1535, allocations: 4 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.1536, allocations: 7.984 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1536, allocations: 4 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.1537, allocations: 8 kB / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1537, allocations: 4 kB / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.1539, allocations: 49.42 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1539, allocations: 16 kB / 0.6859 GB, free: 10.25 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.1541, allocations: 141.3 kB / 0.686 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1541, allocations: 15.75 kB / 0.686 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.1541, allocations: 16.72 kB / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1541, allocations: 7.984 kB / 0.686 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1541, allocations: 0 / 0.686 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1542, allocations: 0 / 0.686 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1543, allocations: 205.5 kB / 0.6862 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1543, allocations: 0 / 0.6862 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.1544, allocations: 23.92 kB / 0.6863 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1544, allocations: 0 / 0.6863 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1544, allocations: 4 kB / 0.6863 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1544, allocations: 0 / 0.6863 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1544, allocations: 0 / 0.6863 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.1547, allocations: 219.6 kB / 0.6865 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1547, allocations: 92.95 kB / 0.6866 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1548, allocations: 0 / 0.6866 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.547e-05/0.1548, allocations: 11.92 kB / 0.6866 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1549, allocations: 11.94 kB / 0.6866 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1549, allocations: 7.984 kB / 0.6866 GB, free: 9.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.155, allocations: 105.8 kB / 0.6867 GB, free: 9.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.155, allocations: 0 / 0.6867 GB, free: 9.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.1553, allocations: 99.98 kB / 0.6868 GB, free: 9.207 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.0002765/0.1556, allocations: 207.1 kB / 0.687 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1559, allocations: 221.1 kB / 0.6872 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1559, allocations: 0 / 0.6872 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.156, allocations: 59.91 kB / 0.6873 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.1562, allocations: 16.64 kB / 0.6873 GB, free: 8.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.1567, allocations: 282.5 kB / 0.6875 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1569, allocations: 0.7048 MB / 0.6882 GB, free: 7.648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.157, allocations: 12.88 kB / 0.6882 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.157, allocations: 19.44 kB / 0.6883 GB, free: 7.617 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.157, allocations: 0 / 0.6883 GB, free: 7.617 MB / 494.1 MB Notification: Performance of Templates: time 0.00535/0.1624, allocations: 2.962 MB / 0.6912 GB, free: 4.715 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)