Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_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.0007816/0.0007816, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005489/0.00549, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9115/0.9115, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1782, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002026/0.1803, allocations: 1.195 MB / 0.5892 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1816, allocations: 0.7089 MB / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.1817, allocations: 4 kB / 0.5899 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.864e-05/0.1818, allocations: 7.922 kB / 0.5899 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.1819, allocations: 11.88 kB / 0.59 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1829, allocations: 294.5 kB / 0.5902 GB, free: 308 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.1832, allocations: 163.6 kB / 0.5904 GB, free: 144 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.1833, allocations: 7.984 kB / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1834, allocations: 55.84 kB / 0.5904 GB, free: 80 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1835, allocations: 59.75 kB / 0.5905 GB, free: 20 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.1836, allocations: 7.938 kB / 0.5905 GB, free: 12 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.184, allocations: 243.8 kB / 0.5907 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.184, allocations: 35.89 kB / 0.5908 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.627e-05/0.1841, allocations: 81.41 kB / 0.5909 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.1845, allocations: 287.6 kB / 0.5911 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1846, allocations: 0 / 0.5911 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.026e-06/0.1846, allocations: 4 kB / 0.5911 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1846, allocations: 0 / 0.5911 GB, free: 15.37 MB / 0.4981 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.0006178/0.1852, allocations: 451.1 kB / 0.5916 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1853, allocations: 12.03 kB / 0.5916 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.1853, allocations: 34.73 kB / 0.5916 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.1854, allocations: 24.69 kB / 0.5916 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1856, allocations: 212.1 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1856, allocations: 4.375 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1856, allocations: 16.38 kB / 0.5919 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1858, allocations: 92.8 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1858, allocations: 3.938 kB / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1858, allocations: 4 kB / 0.592 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1859, allocations: 3.938 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.714e-05/0.186, allocations: 43.97 kB / 0.592 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.1862, allocations: 255.3 kB / 0.5922 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1864, allocations: 103.8 kB / 0.5923 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.474e-05/0.1865, allocations: 70.7 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1865, allocations: 0 / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1867, allocations: 143.7 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.522e-06/0.1867, allocations: 0 / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004165/0.1872, allocations: 221.2 kB / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.1872, allocations: 122.8 kB / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1874, allocations: 136.8 kB / 0.593 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1874, allocations: 45.69 kB / 0.593 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.1875, allocations: 92.7 kB / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.1875, allocations: 55.27 kB / 0.5932 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1876, allocations: 33.7 kB / 0.5932 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.1877, allocations: 330.8 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.1878, allocations: 48.2 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.188, allocations: 184.2 kB / 0.5938 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.1882, allocations: 130.5 kB / 0.5939 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1882, allocations: 0 / 0.5939 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00028/0.1885, allocations: 204.8 kB / 0.5941 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1885, allocations: 4 kB / 0.5941 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.1885, allocations: 8 kB / 0.5941 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1885, allocations: 4 kB / 0.5941 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.1886, allocations: 15.92 kB / 0.5941 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1886, allocations: 4 kB / 0.5941 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1889, allocations: 55.45 kB / 0.5942 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1889, allocations: 12 kB / 0.5942 GB, free: 11.91 MB / 0.4981 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.0001164/0.189, allocations: 148.1 kB / 0.5943 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.189, allocations: 7.906 kB / 0.5943 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.1891, allocations: 16.72 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1891, allocations: 4 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1891, allocations: 0 / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1891, allocations: 3.984 kB / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1893, allocations: 209.4 kB / 0.5945 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1893, allocations: 0 / 0.5945 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.1893, allocations: 15.98 kB / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1893, allocations: 4 kB / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1894, allocations: 8 kB / 0.5946 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1894, allocations: 0 / 0.5946 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1894, allocations: 0 / 0.5946 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.1896, allocations: 222.4 kB / 0.5948 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.1897, allocations: 88.95 kB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1897, allocations: 4 kB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.1898, allocations: 11.94 kB / 0.5949 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.1899, allocations: 11.98 kB / 0.5949 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1899, allocations: 4 kB / 0.5949 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.1899, allocations: 109.3 kB / 0.595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1899, allocations: 0 / 0.595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003501/0.1903, allocations: 95.98 kB / 0.5951 GB, free: 10.86 MB / 0.4981 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.00067/0.191, allocations: 0.8504 MB / 0.5959 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1913, allocations: 217.3 kB / 0.5961 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1913, allocations: 0 / 0.5961 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.1914, allocations: 51.92 kB / 0.5962 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.1916, allocations: 15.94 kB / 0.5962 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1934, allocations: 1.84 MB / 0.598 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1936, allocations: 0.7084 MB / 0.5987 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.1936, allocations: 13.16 kB / 0.5987 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.1937, allocations: 31.44 kB / 0.5987 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1937, allocations: 4 kB / 0.5987 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.2082, allocations: 4.24 MB / 0.6029 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.2084, allocations: 215 kB / 0.6031 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/2.346, allocations: 0 / 0.6031 GB, free: 2.684 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)