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.0008988/0.000899, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00505/0.00505, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.226/1.226, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.574/1.574, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000464/0.000464, allocations: 19.16 kB / 0.6744 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1829, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.0014/0.1844, allocations: 1.213 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1855, allocations: 0.7215 MB / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.1855, allocations: 0 / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.639e-05/0.1856, allocations: 7.984 kB / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.1856, allocations: 15.86 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.1865, allocations: 289.9 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1867, allocations: 159.6 kB / 0.7903 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.1867, allocations: 4 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.1868, allocations: 67.77 kB / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.1869, allocations: 47.83 kB / 0.7904 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1869, allocations: 8 kB / 0.7904 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.1872, allocations: 239.8 kB / 0.7907 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.1873, allocations: 39.88 kB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.1874, allocations: 81.42 kB / 0.7908 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1877, allocations: 291.5 kB / 0.7911 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1877, allocations: 0 / 0.7911 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1877, allocations: 0 / 0.7911 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1877, allocations: 0 / 0.7911 GB, free: 8.309 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.0005114/0.1883, allocations: 447.1 kB / 0.7915 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1883, allocations: 12.03 kB / 0.7915 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.1883, allocations: 34.75 kB / 0.7915 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1884, allocations: 24.67 kB / 0.7916 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1886, allocations: 211 kB / 0.7918 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1886, allocations: 12.31 kB / 0.7918 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1886, allocations: 8.375 kB / 0.7918 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1888, allocations: 104.7 kB / 0.7919 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1888, allocations: 3.938 kB / 0.7919 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1888, allocations: 0 / 0.7919 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1888, allocations: 4 kB / 0.7919 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.1889, allocations: 51.89 kB / 0.7919 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.1892, allocations: 247.3 kB / 0.7922 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1893, allocations: 111.8 kB / 0.7923 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.1894, allocations: 70.7 kB / 0.7924 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1894, allocations: 4 kB / 0.7924 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1896, allocations: 148.2 kB / 0.7925 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.062e-06/0.1896, allocations: 0 / 0.7925 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003683/0.19, allocations: 213.4 kB / 0.7927 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.1901, allocations: 122.7 kB / 0.7928 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.1902, allocations: 133.8 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.1902, allocations: 37.7 kB / 0.793 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.1903, allocations: 100.7 kB / 0.7931 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.1903, allocations: 55.25 kB / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.1904, allocations: 37.7 kB / 0.7932 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1905, allocations: 326.8 kB / 0.7935 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.1906, allocations: 48.27 kB / 0.7935 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.1908, allocations: 184.5 kB / 0.7937 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.191, allocations: 130.5 kB / 0.7938 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.191, allocations: 0 / 0.7938 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002686/0.1913, allocations: 205.3 kB / 0.794 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1913, allocations: 4 kB / 0.794 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.1913, allocations: 4 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.1913, allocations: 4 kB / 0.794 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.1914, allocations: 15.98 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1914, allocations: 4 kB / 0.794 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.1916, allocations: 51.8 kB / 0.7941 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1917, allocations: 8 kB / 0.7941 GB, free: 4.848 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.0001078/0.1918, allocations: 148 kB / 0.7942 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1918, allocations: 11.91 kB / 0.7943 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.1918, allocations: 12.72 kB / 0.7943 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1919, allocations: 4.141 kB / 0.7943 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1919, allocations: 0 / 0.7943 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1919, allocations: 3.984 kB / 0.7943 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.192, allocations: 213.4 kB / 0.7945 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.192, allocations: 4 kB / 0.7945 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.1921, allocations: 11.94 kB / 0.7945 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1921, allocations: 3.984 kB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1921, allocations: 4 kB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1921, allocations: 4 kB / 0.7945 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1921, allocations: 0 / 0.7945 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1924, allocations: 210.5 kB / 0.7947 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.1924, allocations: 92.94 kB / 0.7948 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1924, allocations: 8 kB / 0.7948 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.1925, allocations: 11.94 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.1926, allocations: 15.92 kB / 0.7948 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1926, allocations: 4 kB / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.016e-05/0.1926, allocations: 110.2 kB / 0.7949 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1926, allocations: 3.938 kB / 0.7949 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000314/0.193, allocations: 104 kB / 0.795 GB, free: 3.785 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.0006644/0.1936, allocations: 0.8442 MB / 0.7959 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.1939, allocations: 209.3 kB / 0.7961 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1939, allocations: 0 / 0.7961 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.221e-05/0.194, allocations: 63.91 kB / 0.7961 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.1942, allocations: 11.94 kB / 0.7961 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1959, allocations: 1.844 MB / 0.7979 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1962, allocations: 0.7084 MB / 0.7986 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.1962, allocations: 8.891 kB / 0.7986 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.1963, allocations: 31.42 kB / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.1963, allocations: 0 / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.241/1.437, allocations: 4.256 MB / 0.8028 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.437, allocations: 236.4 kB / 0.8031 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/3.122, allocations: 0 / 0.8031 GB, free: 11.57 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)