Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, 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.001282/0.001282, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002539/0.002539, allocations: 286.9 kB / 290.4 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 178.6 MB / 0.5069 GB, free: 4.707 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00431/0.004311, allocations: 99.31 kB / 0.6059 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1796, allocations: 89.16 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002953/0.1826, allocations: 1.534 MB / 0.6945 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1838, allocations: 0.6902 MB / 0.6951 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.1839, allocations: 0.6562 kB / 0.6951 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.184, allocations: 13.36 kB / 0.6952 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.184, allocations: 7.922 kB / 0.6952 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.1849, allocations: 329.3 kB / 0.6955 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.1852, allocations: 176.2 kB / 0.6956 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1853, allocations: 5.969 kB / 0.6957 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1854, allocations: 71.83 kB / 0.6957 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.1855, allocations: 51.75 kB / 0.6958 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.1855, allocations: 12 kB / 0.6958 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.1859, allocations: 247.8 kB / 0.696 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.1859, allocations: 33.94 kB / 0.6961 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.007e-05/0.186, allocations: 71.7 kB / 0.6961 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.1864, allocations: 295.6 kB / 0.6964 GB, free: 1.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1865, allocations: 4 kB / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1865, allocations: 2.188 kB / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1865, allocations: 0 / 0.6964 GB, free: 1.18 MB / 494.1 MB 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.0006709/0.1872, allocations: 474.9 kB / 0.6969 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1872, allocations: 12.03 kB / 0.6969 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.1873, allocations: 9.469 kB / 0.6969 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1875, allocations: 213.8 kB / 0.6971 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1875, allocations: 4.375 kB / 0.6971 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.1876, allocations: 16.38 kB / 0.6971 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.1878, allocations: 99.62 kB / 0.6972 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1878, allocations: 4.188 kB / 0.6972 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1878, allocations: 3.938 kB / 0.6972 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1879, allocations: 4 kB / 0.6972 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.188, allocations: 47.91 kB / 0.6973 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1883, allocations: 243.3 kB / 0.6975 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1885, allocations: 115.8 kB / 0.6976 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1886, allocations: 70.67 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1886, allocations: 3.984 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.1889, allocations: 148.7 kB / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.1889, allocations: 3.938 kB / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004565/0.1894, allocations: 213.4 kB / 0.698 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.1895, allocations: 114.8 kB / 0.6981 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1896, allocations: 145.7 kB / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.1897, allocations: 33.7 kB / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.1898, allocations: 100.7 kB / 0.6984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/0.1898, allocations: 51.36 kB / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.1899, allocations: 61.69 kB / 0.6985 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1901, allocations: 326.8 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.1902, allocations: 56.25 kB / 0.6989 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.1904, allocations: 176.5 kB / 0.699 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.1907, allocations: 138.5 kB / 0.6992 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1907, allocations: 0 / 0.6992 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003198/0.191, allocations: 197.3 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.191, allocations: 6.344 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.191, allocations: 7.984 kB / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1911, allocations: 0 / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.1912, allocations: 19.94 kB / 0.6994 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1912, allocations: 4 kB / 0.6994 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.1914, allocations: 54.55 kB / 0.6994 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1914, allocations: 7.984 kB / 0.6995 GB, free: 13.73 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.0001451/0.1916, allocations: 140 kB / 0.6996 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1916, allocations: 15.75 kB / 0.6996 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.1916, allocations: 16.7 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1917, allocations: 4 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1917, allocations: 4 kB / 0.6996 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1917, allocations: 0 / 0.6996 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.1919, allocations: 213.5 kB / 0.6998 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1919, allocations: 0 / 0.6998 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.1919, allocations: 12 kB / 0.6998 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.1919, allocations: 7.984 kB / 0.6998 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.192, allocations: 4 kB / 0.6999 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.192, allocations: 4 kB / 0.6999 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.192, allocations: 0 / 0.6999 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.1923, allocations: 215.5 kB / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.1924, allocations: 96.8 kB / 0.7002 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.1924, allocations: 0 / 0.7002 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.1925, allocations: 15.92 kB / 0.7002 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.1925, allocations: 7.984 kB / 0.7002 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1925, allocations: 8 kB / 0.7002 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.543e-05/0.1926, allocations: 103.3 kB / 0.7003 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1926, allocations: 0 / 0.7003 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003553/0.193, allocations: 107.9 kB / 0.7004 GB, free: 12.67 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.0003337/0.1933, allocations: 203 kB / 0.7006 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.1937, allocations: 213.3 kB / 0.7008 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1937, allocations: 0 / 0.7008 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1938, allocations: 59.91 kB / 0.7008 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.194, allocations: 8 kB / 0.7008 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.1945, allocations: 280.9 kB / 0.7011 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1948, allocations: 0.7086 MB / 0.7018 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.1949, allocations: 12.88 kB / 0.7018 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.1949, allocations: 15.44 kB / 0.7018 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1949, allocations: 0 / 0.7018 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.00657/0.2015, allocations: 3.043 MB / 0.7048 GB, free: 8.121 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)