Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.0009022/0.0009021, allocations: 194.4 kB / 16.14 MB, free: 6.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.076/1.076, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.458/1.458, allocations: 292.3 MB / 0.5484 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65.66 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1519, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002027/0.154, allocations: 1.56 MB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.1549, allocations: 0.737 MB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.155, allocations: 3.938 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.215e-05/0.155, allocations: 7.922 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.1551, allocations: 11.94 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.1557, allocations: 285.2 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1559, allocations: 163.7 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1559, allocations: 11.98 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/0.156, allocations: 55.84 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.1561, allocations: 51.75 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1561, allocations: 12 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.1564, allocations: 247.7 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.1564, allocations: 31.89 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.1565, allocations: 55.72 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1568, allocations: 291.6 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1568, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.12e-07/0.1568, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.1568, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB 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.000479/0.1573, allocations: 482.9 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1574, allocations: 8.031 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.1574, allocations: 42.73 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1574, allocations: 12.84 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1576, allocations: 212 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1576, allocations: 4.375 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1577, allocations: 12.38 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1578, allocations: 92.8 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1578, allocations: 11.94 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1578, allocations: 3.984 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1578, allocations: 0 / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.1579, allocations: 43.92 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.1581, allocations: 251.3 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1583, allocations: 111.9 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.1584, allocations: 70.67 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.1584, allocations: 0 / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1585, allocations: 151.5 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.1586, allocations: 0 / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003435/0.1589, allocations: 213.4 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.159, allocations: 118.7 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.1591, allocations: 148.2 kB / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1591, allocations: 37.7 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.1591, allocations: 92.7 kB / 0.7882 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.1592, allocations: 55.34 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.1593, allocations: 69.62 kB / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.1594, allocations: 326.8 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.1594, allocations: 44.27 kB / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1596, allocations: 184.5 kB / 0.7889 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1598, allocations: 138.5 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1598, allocations: 0 / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002562/0.1601, allocations: 197.3 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1601, allocations: 4 kB / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.1601, allocations: 7.984 kB / 0.7892 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.1601, allocations: 4 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.1602, allocations: 11.94 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1602, allocations: 8 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.1604, allocations: 47.7 kB / 0.7893 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.1604, allocations: 12.94 kB / 0.7893 GB, free: 6.883 MB / 0.6075 GB 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 9.292e-05/0.1605, allocations: 140.6 kB / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1605, allocations: 15.91 kB / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.1606, allocations: 12.7 kB / 0.7894 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1606, allocations: 4 kB / 0.7894 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1606, allocations: 4 kB / 0.7895 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1606, allocations: 0 / 0.7895 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1607, allocations: 209.4 kB / 0.7897 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1607, allocations: 11.92 kB / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1608, allocations: 8 kB / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1608, allocations: 0 / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1608, allocations: 8 kB / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1608, allocations: 0 / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1608, allocations: 0 / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1611, allocations: 214.6 kB / 0.7899 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.1611, allocations: 92.86 kB / 0.79 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1611, allocations: 4 kB / 0.79 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.1612, allocations: 11.92 kB / 0.79 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1612, allocations: 8 kB / 0.79 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1612, allocations: 11.98 kB / 0.79 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.1613, allocations: 109.9 kB / 0.7901 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1613, allocations: 0 / 0.7901 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002828/0.1616, allocations: 95.98 kB / 0.7902 GB, free: 5.84 MB / 0.6075 GB 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.0005767/0.1622, allocations: 0.8452 MB / 0.791 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.1624, allocations: 221 kB / 0.7912 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1624, allocations: 0 / 0.7912 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.1625, allocations: 55.92 kB / 0.7913 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1627, allocations: 15.88 kB / 0.7913 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.1642, allocations: 1.843 MB / 0.7931 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.1644, allocations: 0.7123 MB / 0.7938 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.1644, allocations: 12.88 kB / 0.7938 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.1645, allocations: 31.42 kB / 0.7938 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.1645, allocations: 3.938 kB / 0.7938 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.189, allocations: 4.336 MB / 0.7981 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003033/2.189, allocations: 229.7 kB / 0.7983 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/4.01, allocations: 4 kB / 0.7983 GB, free: 13.5 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)