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: translateModel(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.008082/0.008082, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.001936/0.001936, allocations: 192 kB / 16.79 MB, free: 5.812 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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.75 kB / 0.5053 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1999, allocations: 80.93 MB / 0.5843 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003111/0.203, allocations: 1.526 MB / 0.5858 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2042, allocations: 0.732 MB / 0.5865 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.2043, allocations: 8 kB / 0.5866 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.19e-05/0.2044, allocations: 3.984 kB / 0.5866 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2045, allocations: 11.88 kB / 0.5866 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008933/0.2054, allocations: 293.5 kB / 0.5868 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.2056, allocations: 167.6 kB / 0.587 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.2057, allocations: 4 kB / 0.587 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.2059, allocations: 59.84 kB / 0.5871 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.206, allocations: 55.75 kB / 0.5871 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.206, allocations: 8 kB / 0.5871 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.2065, allocations: 239.8 kB / 0.5874 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.2065, allocations: 35.89 kB / 0.5874 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.2066, allocations: 55.72 kB / 0.5874 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.2069, allocations: 203.9 kB / 0.5876 GB, free: 1.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2069, allocations: 0 / 0.5876 GB, free: 1.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.099e-06/0.2069, allocations: 3.984 kB / 0.5876 GB, free: 1.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2069, allocations: 0 / 0.5876 GB, free: 1.648 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.0007786/0.2077, allocations: 482.9 kB / 0.5881 GB, free: 1.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2078, allocations: 8.031 kB / 0.5881 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.2078, allocations: 12.84 kB / 0.5881 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.208, allocations: 214.1 kB / 0.5883 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2081, allocations: 8.375 kB / 0.5883 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.2081, allocations: 8.375 kB / 0.5883 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.2083, allocations: 104.7 kB / 0.5884 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2083, allocations: 4.125 kB / 0.5884 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2083, allocations: 3.938 kB / 0.5885 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2083, allocations: 8 kB / 0.5885 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.2084, allocations: 47.95 kB / 0.5885 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.2087, allocations: 247.3 kB / 0.5887 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2089, allocations: 115.9 kB / 0.5889 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.209, allocations: 66.67 kB / 0.5889 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.209, allocations: 7.938 kB / 0.5889 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.2093, allocations: 133.9 kB / 0.5891 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.2093, allocations: 0 / 0.5891 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0005497/0.2098, allocations: 222 kB / 0.5893 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.2099, allocations: 114.8 kB / 0.5894 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.2101, allocations: 144.1 kB / 0.5895 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.2101, allocations: 33.7 kB / 0.5895 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.2102, allocations: 96.7 kB / 0.5896 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.2103, allocations: 59.28 kB / 0.5897 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.2104, allocations: 61.69 kB / 0.5897 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002371/0.2106, allocations: 330.8 kB / 0.5901 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.2107, allocations: 48.27 kB / 0.5901 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.211, allocations: 187.7 kB / 0.5903 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.2113, allocations: 124.4 kB / 0.5904 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2113, allocations: 0 / 0.5904 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002845/0.2116, allocations: 204.5 kB / 0.5906 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2116, allocations: 8 kB / 0.5906 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.2116, allocations: 4 kB / 0.5906 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2116, allocations: 0 / 0.5906 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.2117, allocations: 23.92 kB / 0.5906 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2118, allocations: 0 / 0.5906 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.212, allocations: 47.8 kB / 0.5907 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.212, allocations: 4.234 kB / 0.5907 GB, free: 14.2 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.0001303/0.2121, allocations: 148 kB / 0.5908 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.2122, allocations: 15.89 kB / 0.5908 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.2122, allocations: 20.7 kB / 0.5909 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2122, allocations: 4 kB / 0.5909 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2122, allocations: 4 kB / 0.5909 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2122, allocations: 3.984 kB / 0.5909 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2125, allocations: 209.4 kB / 0.5911 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2125, allocations: 0 / 0.5911 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.2125, allocations: 11.98 kB / 0.5911 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2125, allocations: 4 kB / 0.5911 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2126, allocations: 0 / 0.5911 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2126, allocations: 7.938 kB / 0.5911 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2126, allocations: 3.938 kB / 0.5911 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.2129, allocations: 210.6 kB / 0.5913 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/0.213, allocations: 88.92 kB / 0.5914 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.213, allocations: 8 kB / 0.5914 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.2131, allocations: 11.94 kB / 0.5914 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.2131, allocations: 15.92 kB / 0.5914 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2132, allocations: 8 kB / 0.5914 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.2132, allocations: 107.2 kB / 0.5915 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2132, allocations: 0 / 0.5915 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003814/0.2136, allocations: 107.9 kB / 0.5916 GB, free: 13.12 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.000305/0.2139, allocations: 195.1 kB / 0.5918 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.2143, allocations: 217 kB / 0.592 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2144, allocations: 0 / 0.592 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.2144, allocations: 55.92 kB / 0.5921 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.2146, allocations: 17.67 kB / 0.5921 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.2151, allocations: 304.2 kB / 0.5924 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.2154, allocations: 0.7048 MB / 0.5931 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.2155, allocations: 15.44 kB / 0.5931 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.605e-06/0.2155, allocations: 0 / 0.5931 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.005141/0.2206, allocations: 3.097 MB / 0.5961 GB, free: 8.48 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (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 & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)