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.001496/0.001496, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 194.5 kB / 16.53 MB, free: 6.691 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.374/1.374, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.69/1.69, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001477/0.001477, allocations: 67.36 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1869, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002635/0.1896, allocations: 1.495 MB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1907, allocations: 0.6812 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.1907, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.449e-05/0.1908, allocations: 15.86 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.1909, allocations: 15.84 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009773/0.1919, allocations: 350.7 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.1921, allocations: 167.7 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.1922, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.1923, allocations: 71.77 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.1924, allocations: 55.75 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.1924, allocations: 16 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.1928, allocations: 247.8 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.1929, allocations: 39.89 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.193, allocations: 55.78 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.1934, allocations: 299.6 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1934, allocations: 0 / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1934, allocations: 0 / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1934, allocations: 3.938 kB / 0.7869 GB, free: 9.883 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.0005951/0.194, allocations: 482.9 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.194, allocations: 8.031 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.1941, allocations: 38.75 kB / 0.7874 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.1941, allocations: 8.844 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1943, allocations: 220.9 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1944, allocations: 12.36 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1944, allocations: 8.375 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1946, allocations: 99.39 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1946, allocations: 7.938 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1946, allocations: 8 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1946, allocations: 3.984 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.1947, allocations: 39.97 kB / 0.7878 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.195, allocations: 248.4 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1951, allocations: 115.9 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1952, allocations: 74.59 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1952, allocations: 0 / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1955, allocations: 133.9 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.1955, allocations: 0 / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003984/0.1959, allocations: 221.3 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.196, allocations: 122.8 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1961, allocations: 137.7 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.1961, allocations: 41.7 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.1962, allocations: 96.69 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.1963, allocations: 47.36 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/0.1963, allocations: 65.69 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1965, allocations: 322.8 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.1966, allocations: 56.25 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.1968, allocations: 180.5 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.197, allocations: 138.5 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.197, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002928/0.1973, allocations: 201.3 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1973, allocations: 4 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.1973, allocations: 4 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1973, allocations: 4 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.1974, allocations: 11.94 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.1974, allocations: 11.98 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.1977, allocations: 50.83 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1977, allocations: 12 kB / 0.79 GB, free: 6.367 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.0001085/0.1978, allocations: 136.1 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1978, allocations: 15.83 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.1979, allocations: 20.7 kB / 0.7901 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1979, allocations: 4 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1979, allocations: 4 kB / 0.7901 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1979, allocations: 0 / 0.7901 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1981, allocations: 213.4 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1981, allocations: 0 / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.1981, allocations: 12 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1981, allocations: 0 / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1982, allocations: 4 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1982, allocations: 0 / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1982, allocations: 7.922 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1984, allocations: 214.6 kB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.1985, allocations: 92.86 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1985, allocations: 0 / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.1986, allocations: 11.92 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1986, allocations: 11.98 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1986, allocations: 4 kB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.159e-05/0.1987, allocations: 106.2 kB / 0.7908 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1987, allocations: 4 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003428/0.1991, allocations: 104 kB / 0.7909 GB, free: 5.32 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.0006912/0.1998, allocations: 0.8466 MB / 0.7917 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.2001, allocations: 226 kB / 0.7919 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2001, allocations: 0 / 0.7919 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.2002, allocations: 55.92 kB / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.2004, allocations: 15.92 kB / 0.792 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.2021, allocations: 1.819 MB / 0.7938 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2024, allocations: 0.7084 MB / 0.7945 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.241e-05/0.2024, allocations: 12.88 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.2025, allocations: 31.44 kB / 0.7945 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2025, allocations: 0 / 0.7945 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.2228, allocations: 4.568 MB / 0.799 GB, free: 13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.657, allocations: 10.45 kB / 0.799 GB, free: 13 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)