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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001092/0.001092, allocations: 189.2 kB / 16.13 MB, free: 6.66 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.142/1.142, 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.001865/0.001865, allocations: 290.6 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9493/0.9493, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 98.58 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1587, allocations: 86.98 MB / 0.6795 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002413/0.1612, allocations: 1.532 MB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1622, allocations: 0.7286 MB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.1623, allocations: 0.7188 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.453e-05/0.1624, allocations: 7.938 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.1624, allocations: 13.62 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.1632, allocations: 294.1 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1634, allocations: 159.7 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.1634, allocations: 8.922 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.1635, allocations: 63.77 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.1636, allocations: 49.58 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1636, allocations: 4 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.164, allocations: 239.8 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.164, allocations: 36.73 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.1641, allocations: 55.72 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1645, allocations: 299.3 kB / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1645, allocations: 0 / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1645, allocations: 3.938 kB / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1645, allocations: 3.938 kB / 0.6829 GB, free: 13.64 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.0006134/0.1651, allocations: 470.9 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1651, allocations: 12.03 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.1652, allocations: 42.73 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.1652, allocations: 12.84 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1655, allocations: 216.1 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1655, allocations: 8.375 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1655, allocations: 8.375 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1657, allocations: 102.3 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1657, allocations: 3.938 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1657, allocations: 4 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1657, allocations: 4 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.1658, allocations: 43.91 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.1661, allocations: 247.4 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.1662, allocations: 115.9 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.1663, allocations: 66.62 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1663, allocations: 8 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1665, allocations: 142.6 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.1665, allocations: 0 / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003763/0.1669, allocations: 217.4 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.167, allocations: 118.8 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1671, allocations: 143.8 kB / 0.6848 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.1672, allocations: 37.7 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.1672, allocations: 96.64 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.1673, allocations: 51.34 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.1674, allocations: 65.69 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1675, allocations: 326.8 kB / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.1676, allocations: 48.27 kB / 0.6854 GB, free: 10.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1678, allocations: 180.5 kB / 0.6856 GB, free: 10.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1679, allocations: 130.5 kB / 0.6857 GB, free: 10.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.168, allocations: 8 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002862/0.1683, allocations: 205.3 kB / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1683, allocations: 4 kB / 0.6859 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.1683, allocations: 4 kB / 0.6859 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1683, allocations: 3.938 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.1684, allocations: 15.98 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1684, allocations: 3.938 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1686, allocations: 47.8 kB / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1686, allocations: 8 kB / 0.686 GB, free: 10.14 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.0001178/0.1688, allocations: 145.3 kB / 0.6861 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1688, allocations: 15.75 kB / 0.6862 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.1688, allocations: 16.72 kB / 0.6862 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1688, allocations: 0 / 0.6862 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1689, allocations: 4.141 kB / 0.6862 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1689, allocations: 7.969 kB / 0.6862 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.169, allocations: 201.5 kB / 0.6864 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.169, allocations: 0 / 0.6864 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.1691, allocations: 19.92 kB / 0.6864 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1691, allocations: 4 kB / 0.6864 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1691, allocations: 4 kB / 0.6864 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.1691, allocations: 4 kB / 0.6864 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1691, allocations: 0 / 0.6864 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1694, allocations: 217.8 kB / 0.6866 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.1694, allocations: 100.9 kB / 0.6867 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1695, allocations: 0 / 0.6867 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.1695, allocations: 7.938 kB / 0.6867 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1696, allocations: 11.98 kB / 0.6867 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1696, allocations: 4 kB / 0.6867 GB, free: 9.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.1697, allocations: 113.5 kB / 0.6868 GB, free: 9.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1697, allocations: 0 / 0.6868 GB, free: 9.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.17, allocations: 104 kB / 0.6869 GB, free: 9.086 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.0006769/0.1707, allocations: 0.8442 MB / 0.6878 GB, free: 8.207 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.171, allocations: 218.1 kB / 0.688 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.171, allocations: 4 kB / 0.688 GB, free: 7.973 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.1711, allocations: 51.92 kB / 0.688 GB, free: 7.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1712, allocations: 15.94 kB / 0.688 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.173, allocations: 1.835 MB / 0.6898 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1732, allocations: 0.7084 MB / 0.6905 GB, free: 5.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.93e-05/0.1733, allocations: 12.88 kB / 0.6905 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.1733, allocations: 35.42 kB / 0.6906 GB, free: 5.184 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1733, allocations: 4 kB / 0.6906 GB, free: 5.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.1867, allocations: 4.353 MB / 0.6948 GB, free: 1.031 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.1869, allocations: 239.6 kB / 0.6951 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.967, allocations: 0 / 0.6951 GB, free: 0.7812 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)