Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 101 kB / 16.27 MB, free: 5.965 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.001547/0.001547, allocations: 188.7 kB / 17.2 MB, free: 5.59 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002213/0.002213, allocations: 292.2 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9436/0.9436, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 100.2 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.179, allocations: 86.97 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003133/0.1821, allocations: 1.469 MB / 0.6823 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1836, allocations: 0.6967 MB / 0.6829 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.1837, allocations: 4 kB / 0.683 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1838, allocations: 7.875 kB / 0.683 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.184, allocations: 19.84 kB / 0.683 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.1853, allocations: 342.1 kB / 0.6833 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.1857, allocations: 171.6 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.677e-05/0.1857, allocations: 4 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1859, allocations: 71.83 kB / 0.6835 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.186, allocations: 47.83 kB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.186, allocations: 12 kB / 0.6836 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.1865, allocations: 251.7 kB / 0.6838 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.1866, allocations: 35.91 kB / 0.6839 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1867, allocations: 75.69 kB / 0.6839 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.1873, allocations: 287.6 kB / 0.6842 GB, free: 4.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1873, allocations: 0 / 0.6842 GB, free: 4.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1873, allocations: 0 / 0.6842 GB, free: 4.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1874, allocations: 3.984 kB / 0.6842 GB, free: 4.688 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.0007986/0.1882, allocations: 479 kB / 0.6847 GB, free: 4.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1882, allocations: 8.031 kB / 0.6847 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.1883, allocations: 16.75 kB / 0.6847 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1886, allocations: 210.5 kB / 0.6849 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1886, allocations: 12.38 kB / 0.6849 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1887, allocations: 8.375 kB / 0.6849 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1889, allocations: 100.7 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1889, allocations: 192 / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1889, allocations: 3.938 kB / 0.685 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1889, allocations: 4 kB / 0.685 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.189, allocations: 43.97 kB / 0.6851 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.1894, allocations: 251.3 kB / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1895, allocations: 111.9 kB / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1896, allocations: 70.61 kB / 0.6855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1897, allocations: 11.94 kB / 0.6855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.19, allocations: 133.8 kB / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.19, allocations: 0 / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004848/0.1905, allocations: 225.5 kB / 0.6858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1906, allocations: 122.8 kB / 0.686 GB, free: 2.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1907, allocations: 143.8 kB / 0.6861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.1908, allocations: 37.7 kB / 0.6861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.1909, allocations: 93.47 kB / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.191, allocations: 47.36 kB / 0.6863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1911, allocations: 65.69 kB / 0.6863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1912, allocations: 326.8 kB / 0.6866 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1913, allocations: 48.27 kB / 0.6867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.1916, allocations: 184.5 kB / 0.6869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.1918, allocations: 126.6 kB / 0.687 GB, free: 1.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1918, allocations: 4 kB / 0.687 GB, free: 1.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003105/0.1921, allocations: 205.2 kB / 0.6872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1922, allocations: 8 kB / 0.6872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.1922, allocations: 4 kB / 0.6872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1922, allocations: 7.938 kB / 0.6872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1923, allocations: 15.98 kB / 0.6872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1923, allocations: 3.938 kB / 0.6872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.1926, allocations: 47.8 kB / 0.6873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1926, allocations: 4 kB / 0.6873 GB, free: 1.23 MB / 494.1 MB 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.0001523/0.1928, allocations: 152.1 kB / 0.6874 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.1928, allocations: 15.75 kB / 0.6874 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.1929, allocations: 16.72 kB / 0.6874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1929, allocations: 0 / 0.6874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1929, allocations: 4 kB / 0.6874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1929, allocations: 3.984 kB / 0.6874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.1931, allocations: 205.5 kB / 0.6876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1931, allocations: 0 / 0.6876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.1932, allocations: 11.98 kB / 0.6877 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1932, allocations: 8 kB / 0.6877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1932, allocations: 0 / 0.6877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1932, allocations: 7.938 kB / 0.6877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1932, allocations: 0 / 0.6877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.1935, allocations: 211.6 kB / 0.6879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.1936, allocations: 92.95 kB / 0.688 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1936, allocations: 8 kB / 0.688 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.1937, allocations: 7.938 kB / 0.688 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.1937, allocations: 11.98 kB / 0.688 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1937, allocations: 4 kB / 0.688 GB, free: 396 kB / 494.1 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.1938, allocations: 113.7 kB / 0.6881 GB, free: 284 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1938, allocations: 0 / 0.6881 GB, free: 284 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.1942, allocations: 103.9 kB / 0.6882 GB, free: 180 kB / 494.1 MB 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.3107/0.5049, allocations: 190.4 kB / 0.6884 GB, free: 18.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005451/0.5055, allocations: 223.9 kB / 0.6886 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5055, allocations: 4.438 kB / 0.6886 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.5056, allocations: 50.52 kB / 0.6886 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.5059, allocations: 10.42 kB / 0.6887 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.5065, allocations: 280.3 kB / 0.6889 GB, free: 17.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.5067, allocations: 0.7084 MB / 0.6896 GB, free: 17.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.5067, allocations: 19.22 kB / 0.6896 GB, free: 17.09 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5067, allocations: 0 / 0.6896 GB, free: 17.09 MB / 494.1 MB Notification: Performance of Templates: time 0.007018/0.5137, allocations: 3.119 MB / 0.6927 GB, free: 16.84 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)