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.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001126/0.001126, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.136/1.136, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.637/1.637, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001419/0.001419, allocations: 68.47 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1806, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002667/0.1833, allocations: 1.56 MB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1844, allocations: 0.6941 MB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.1844, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.537e-05/0.1845, allocations: 3.938 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.1846, allocations: 19.84 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009535/0.1856, allocations: 314.5 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1858, allocations: 175.6 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1859, allocations: 12 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.805e-05/0.186, allocations: 67.78 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.186, allocations: 51.81 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1861, allocations: 8 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.1864, allocations: 255.7 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.1865, allocations: 39.91 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.1866, allocations: 55.77 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.187, allocations: 303.6 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.187, allocations: 0 / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.187, allocations: 4 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.187, allocations: 0 / 0.7864 GB, free: 10.26 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.0005805/0.1876, allocations: 478.9 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1877, allocations: 8.031 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.1877, allocations: 38.75 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1878, allocations: 12.84 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1879, allocations: 216 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.188, allocations: 4.375 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.188, allocations: 16.36 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1882, allocations: 100.7 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1882, allocations: 3.938 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1882, allocations: 4 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1882, allocations: 0 / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.1883, allocations: 43.97 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.1886, allocations: 251.3 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.1887, allocations: 111.8 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.1888, allocations: 74.59 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.1889, allocations: 0 / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.1891, allocations: 137.8 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.1891, allocations: 0 / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003943/0.1895, allocations: 221.8 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1896, allocations: 118.8 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1897, allocations: 144.2 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.1897, allocations: 41.7 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.1898, allocations: 96.69 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.1899, allocations: 51.36 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.19, allocations: 57.69 kB / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1901, allocations: 326.8 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.1902, allocations: 56.25 kB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1904, allocations: 179.5 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1906, allocations: 142.5 kB / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1906, allocations: 4 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002864/0.1909, allocations: 197.3 kB / 0.7894 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1909, allocations: 4 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.1909, allocations: 8 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1909, allocations: 4 kB / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.191, allocations: 11.94 kB / 0.7894 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.191, allocations: 4 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1913, allocations: 55.69 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1913, allocations: 8 kB / 0.7895 GB, free: 6.746 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.0001204/0.1914, allocations: 136 kB / 0.7896 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1914, allocations: 15.91 kB / 0.7896 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.1915, allocations: 16.7 kB / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1915, allocations: 4 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1915, allocations: 0 / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1915, allocations: 144 / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1917, allocations: 217.4 kB / 0.7899 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1917, allocations: 4 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.1917, allocations: 8 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1917, allocations: 0 / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1917, allocations: 8 kB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1917, allocations: 4 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1918, allocations: 3.938 kB / 0.7899 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.192, allocations: 214.1 kB / 0.7901 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.1921, allocations: 92.86 kB / 0.7902 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1921, allocations: 0 / 0.7902 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.1922, allocations: 15.92 kB / 0.7902 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.1922, allocations: 11.98 kB / 0.7902 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1922, allocations: 8 kB / 0.7902 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.1923, allocations: 101.6 kB / 0.7903 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1923, allocations: 0 / 0.7903 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003352/0.1927, allocations: 99.98 kB / 0.7904 GB, free: 5.707 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.0007155/0.1934, allocations: 0.8442 MB / 0.7912 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1937, allocations: 220.9 kB / 0.7915 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1937, allocations: 0 / 0.7915 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.1938, allocations: 55.92 kB / 0.7915 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.194, allocations: 15.92 kB / 0.7915 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.1957, allocations: 1.855 MB / 0.7933 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.196, allocations: 0.7123 MB / 0.794 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.1961, allocations: 8.891 kB / 0.794 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.1961, allocations: 31.42 kB / 0.7941 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.1961, allocations: 0 / 0.7941 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09396/0.2901, allocations: 4.441 MB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.2904, allocations: 226 kB / 0.7986 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.043, allocations: 2.531 kB / 0.7986 GB, free: 13.29 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)