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.0009258/0.0009259, allocations: 97.64 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.00547/0.00547, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001646/0.001646, allocations: 269.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004372, allocations: 17.38 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1435, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001395/0.1449, allocations: 1.195 MB / 0.6863 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.146, allocations: 0.726 MB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.1461, allocations: 1.75 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.1461, allocations: 3.984 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.1462, allocations: 11.88 kB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.1469, allocations: 279 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1471, allocations: 165.7 kB / 0.6874 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1472, allocations: 11.98 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.083e-05/0.1473, allocations: 59.83 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.1473, allocations: 47.77 kB / 0.6876 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1474, allocations: 10.34 kB / 0.6876 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.1477, allocations: 243.8 kB / 0.6878 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.1478, allocations: 35.88 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.1479, allocations: 81.42 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.1482, allocations: 287.6 kB / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1482, allocations: 0.5 kB / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1482, allocations: 0.5625 kB / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1482, allocations: 0 / 0.6882 GB, free: 11.95 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.0005214/0.1488, allocations: 457.7 kB / 0.6886 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1488, allocations: 8.031 kB / 0.6886 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1488, allocations: 12.84 kB / 0.6886 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.149, allocations: 216.8 kB / 0.6888 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1491, allocations: 8.312 kB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1491, allocations: 14.09 kB / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1493, allocations: 100.7 kB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1493, allocations: 3.094 kB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1493, allocations: 3.938 kB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1493, allocations: 4 kB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.1494, allocations: 43.97 kB / 0.689 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.1497, allocations: 251.2 kB / 0.6893 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1498, allocations: 106.1 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.1499, allocations: 71.33 kB / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1499, allocations: 8.875 kB / 0.6894 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1501, allocations: 136.7 kB / 0.6896 GB, free: 10.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 2.956e-06/0.1502, allocations: 4.531 kB / 0.6896 GB, free: 10.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003688/0.1505, allocations: 213.4 kB / 0.6898 GB, free: 10.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1506, allocations: 114.8 kB / 0.6899 GB, free: 9.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1507, allocations: 147.4 kB / 0.69 GB, free: 9.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1508, allocations: 33.7 kB / 0.6901 GB, free: 9.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1508, allocations: 96.69 kB / 0.6901 GB, free: 9.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.1509, allocations: 55.34 kB / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.1509, allocations: 33.7 kB / 0.6902 GB, free: 9.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.151, allocations: 326.8 kB / 0.6905 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/0.1511, allocations: 52.27 kB / 0.6906 GB, free: 9.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1513, allocations: 176.5 kB / 0.6908 GB, free: 9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.1515, allocations: 134.5 kB / 0.6909 GB, free: 8.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1515, allocations: 4 kB / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002841/0.1518, allocations: 197.4 kB / 0.6911 GB, free: 8.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1518, allocations: 4 kB / 0.6911 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.1519, allocations: 11.92 kB / 0.6911 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1519, allocations: 7.984 kB / 0.6911 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.152, allocations: 8 kB / 0.6911 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.152, allocations: 4 kB / 0.6911 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.1522, allocations: 63.05 kB / 0.6912 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1523, allocations: 11.94 kB / 0.6912 GB, free: 8.551 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.000109/0.1524, allocations: 137.3 kB / 0.6913 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.1524, allocations: 23.75 kB / 0.6913 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.1524, allocations: 12.7 kB / 0.6914 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1525, allocations: 4 kB / 0.6914 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1525, allocations: 0 / 0.6914 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1525, allocations: 4 kB / 0.6914 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.1526, allocations: 213.4 kB / 0.6916 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1526, allocations: 7.938 kB / 0.6916 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.1527, allocations: 8 kB / 0.6916 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1527, allocations: 0 / 0.6916 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1527, allocations: 12 kB / 0.6916 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1527, allocations: 3.938 kB / 0.6916 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1527, allocations: 0 / 0.6916 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.153, allocations: 213.8 kB / 0.6918 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.1531, allocations: 92.86 kB / 0.6919 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1531, allocations: 4 kB / 0.6919 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.1532, allocations: 19.86 kB / 0.6919 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1532, allocations: 7.984 kB / 0.6919 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.1532, allocations: 4 kB / 0.6919 GB, free: 7.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.945e-05/0.1533, allocations: 105.8 kB / 0.692 GB, free: 7.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1533, allocations: 7.938 kB / 0.692 GB, free: 7.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.1536, allocations: 99.98 kB / 0.6921 GB, free: 7.496 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.0002693/0.1539, allocations: 203.1 kB / 0.6923 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.1542, allocations: 209.9 kB / 0.6925 GB, free: 7.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1542, allocations: 0 / 0.6925 GB, free: 7.066 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.1543, allocations: 56.11 kB / 0.6926 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.1545, allocations: 11.98 kB / 0.6926 GB, free: 7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.1549, allocations: 279.9 kB / 0.6928 GB, free: 6.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1551, allocations: 0.7204 MB / 0.6936 GB, free: 5.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.982e-05/0.1552, allocations: 12.88 kB / 0.6936 GB, free: 5.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1552, allocations: 11.44 kB / 0.6936 GB, free: 5.918 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1552, allocations: 0 / 0.6936 GB, free: 5.918 MB / 494.1 MB Notification: Performance of Templates: time 0.005445/0.1607, allocations: 2.954 MB / 0.6965 GB, free: 3.023 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)