Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.00115/0.00115, 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.001147/0.001147, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.103/1.103, allocations: 205.1 MB / 222 MB, free: 4.977 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.503/1.503, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001256/0.001256, allocations: 65.81 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1511, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002016/0.1531, allocations: 1.564 MB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.1541, allocations: 0.7332 MB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.1541, allocations: 0 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.387e-05/0.1542, allocations: 11.92 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.1542, allocations: 15.86 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.1549, allocations: 278.3 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.155, allocations: 155.7 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.1551, allocations: 7.938 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.1551, allocations: 71.75 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.1552, allocations: 55.75 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1552, allocations: 8 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.1555, allocations: 235.8 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.1556, allocations: 35.89 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.1556, allocations: 59.7 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1559, allocations: 291.6 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1559, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1559, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.1559, allocations: 0 / 0.7862 GB, free: 10.41 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.0004774/0.1564, allocations: 482.9 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.1565, allocations: 15.97 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.1565, allocations: 38.73 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.1566, allocations: 16.75 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1567, allocations: 205 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1567, allocations: 4.375 kB / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1568, allocations: 12.38 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1569, allocations: 107.4 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1569, allocations: 3.938 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1569, allocations: 0 / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.157, allocations: 4 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.157, allocations: 47.91 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.1573, allocations: 247.3 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1574, allocations: 107.8 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.1575, allocations: 74.7 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.1575, allocations: 4 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.1577, allocations: 139.5 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.1577, allocations: 0 / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003371/0.158, allocations: 217.3 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1581, allocations: 118.8 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1582, allocations: 137.8 kB / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1582, allocations: 33.7 kB / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.1583, allocations: 96.69 kB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.1583, allocations: 51.36 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.1584, allocations: 65.69 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.1585, allocations: 326.8 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.1586, allocations: 60.19 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.1588, allocations: 180.5 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.159, allocations: 138.5 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.159, allocations: 3.938 kB / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000261/0.1592, allocations: 201.3 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.1593, allocations: 4 kB / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.1593, allocations: 4 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.1593, allocations: 0 / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.1594, allocations: 19.98 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1594, allocations: 4 kB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1596, allocations: 51.7 kB / 0.7893 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1596, allocations: 4 kB / 0.7893 GB, free: 6.902 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 0.0001012/0.1597, allocations: 148.8 kB / 0.7894 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1597, allocations: 11.89 kB / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.1598, allocations: 12.72 kB / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1598, allocations: 0 / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1598, allocations: 8 kB / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1598, allocations: 0 / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1599, allocations: 217.3 kB / 0.7897 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1599, allocations: 0 / 0.7897 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.16, allocations: 15.94 kB / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.16, allocations: 4 kB / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.16, allocations: 3.984 kB / 0.7897 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.16, allocations: 4 kB / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.16, allocations: 0 / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1602, allocations: 206.7 kB / 0.7899 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.1603, allocations: 92.86 kB / 0.79 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1603, allocations: 7.984 kB / 0.79 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.1604, allocations: 7.938 kB / 0.79 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1604, allocations: 11.92 kB / 0.79 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1604, allocations: 8 kB / 0.79 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.1605, allocations: 109.6 kB / 0.7901 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1605, allocations: 0 / 0.7901 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002891/0.1608, allocations: 99.98 kB / 0.7902 GB, free: 5.852 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.0006012/0.1614, allocations: 0.8459 MB / 0.791 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.1617, allocations: 213.3 kB / 0.7912 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1617, allocations: 0 / 0.7912 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.1618, allocations: 59.91 kB / 0.7913 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.1619, allocations: 15.88 kB / 0.7913 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.1635, allocations: 1.839 MB / 0.7931 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1637, allocations: 0.7122 MB / 0.7938 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.1637, allocations: 17.14 kB / 0.7938 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1638, allocations: 39.36 kB / 0.7939 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1638, allocations: 0 / 0.7939 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.307/2.47, allocations: 4.328 MB / 0.7981 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/2.471, allocations: 224.5 kB / 0.7983 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/4.276, allocations: 8.062 kB / 0.7983 GB, free: 13.52 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)