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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001277, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.00125/0.00125, allocations: 189.4 kB / 16.25 MB, free: 6.148 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 302.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9533/0.9533, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 90.69 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1713, allocations: 86.98 MB / 0.6797 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002528/0.1739, allocations: 1.53 MB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.175, allocations: 0.695 MB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.175, allocations: 5.656 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.501e-05/0.1751, allocations: 7.984 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.1752, allocations: 15.84 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000851/0.176, allocations: 311 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1762, allocations: 167.6 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1763, allocations: 12.25 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.1764, allocations: 71.78 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.1765, allocations: 53.97 kB / 0.6825 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1765, allocations: 12 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.1768, allocations: 251.8 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.1769, allocations: 35.89 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.177, allocations: 63.72 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.1773, allocations: 296 kB / 0.6831 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1773, allocations: 0 / 0.6831 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1773, allocations: 0.875 kB / 0.6831 GB, free: 13.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1774, allocations: 0 / 0.6831 GB, free: 13.49 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.0005986/0.178, allocations: 480.6 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.178, allocations: 12.03 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.1781, allocations: 34.75 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1781, allocations: 13.69 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1783, allocations: 212 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1783, allocations: 12.38 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.1784, allocations: 8.375 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1786, allocations: 104.7 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1786, allocations: 3.938 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1786, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1786, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.1787, allocations: 47.97 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.179, allocations: 247.3 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1791, allocations: 107.9 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.1792, allocations: 82.58 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1792, allocations: 8 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.1795, allocations: 137.7 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.412e-06/0.1796, allocations: 0 / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004251/0.18, allocations: 218.1 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.1801, allocations: 122.8 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1802, allocations: 143.6 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.1803, allocations: 33.7 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.1803, allocations: 100.7 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.1804, allocations: 47.36 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.1805, allocations: 61.69 kB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1806, allocations: 326.8 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.1807, allocations: 52.25 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.1809, allocations: 188.4 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1811, allocations: 126.6 kB / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1811, allocations: 0 / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002763/0.1814, allocations: 201.3 kB / 0.6861 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1814, allocations: 11.98 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.1814, allocations: 7.938 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1814, allocations: 3.938 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.1816, allocations: 16 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1816, allocations: 0 / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.1818, allocations: 51.78 kB / 0.6862 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1818, allocations: 4 kB / 0.6862 GB, free: 9.98 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.0001345/0.1819, allocations: 148.6 kB / 0.6864 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.182, allocations: 11.81 kB / 0.6864 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.182, allocations: 16.7 kB / 0.6864 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.182, allocations: 0 / 0.6864 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.182, allocations: 4 kB / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1821, allocations: 4 kB / 0.6864 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1822, allocations: 213.5 kB / 0.6866 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1822, allocations: 0 / 0.6866 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.1823, allocations: 8 kB / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1823, allocations: 4 kB / 0.6866 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1823, allocations: 4 kB / 0.6866 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1823, allocations: 3.938 kB / 0.6866 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1823, allocations: 4 kB / 0.6866 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1826, allocations: 210.5 kB / 0.6868 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.1827, allocations: 88.95 kB / 0.6869 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1827, allocations: 12 kB / 0.6869 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/0.1828, allocations: 15.86 kB / 0.6869 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.1828, allocations: 12.12 kB / 0.687 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1828, allocations: 4 kB / 0.687 GB, free: 9.133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.403e-05/0.1829, allocations: 109.2 kB / 0.6871 GB, free: 9.027 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1829, allocations: 0 / 0.6871 GB, free: 9.027 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.1833, allocations: 99.92 kB / 0.6872 GB, free: 8.93 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.000703/0.184, allocations: 0.8449 MB / 0.688 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1843, allocations: 224.9 kB / 0.6882 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1843, allocations: 4 kB / 0.6882 GB, free: 7.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.1844, allocations: 51.92 kB / 0.6882 GB, free: 7.758 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.1846, allocations: 22.36 kB / 0.6883 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1864, allocations: 1.841 MB / 0.6901 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1866, allocations: 0.7122 MB / 0.6908 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.16e-05/0.1867, allocations: 8.891 kB / 0.6908 GB, free: 5.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.1867, allocations: 37.67 kB / 0.6908 GB, free: 5.012 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1867, allocations: 3.938 kB / 0.6908 GB, free: 5.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.2023, allocations: 4.46 MB / 0.6952 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.2025, allocations: 239 kB / 0.6954 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.992, allocations: 4.062 kB / 0.6954 GB, free: 0.5234 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)