Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007949/0.0007952, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009101/0.0009101, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.631/1.631, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0006724/0.0006725, allocations: 11.72 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2371, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001973/0.2391, allocations: 1.186 MB / 0.7884 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.2404, allocations: 0.6518 MB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.2405, allocations: 0 / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.748e-05/0.2406, allocations: 7.922 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.707e-05/0.2407, allocations: 11.92 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.2419, allocations: 289 kB / 0.7894 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.2422, allocations: 139.7 kB / 0.7895 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.286e-05/0.2422, allocations: 7.984 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2424, allocations: 71.81 kB / 0.7896 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.2425, allocations: 51.77 kB / 0.7896 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.2426, allocations: 4 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.2431, allocations: 223.8 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.2432, allocations: 35.88 kB / 0.7899 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.2432, allocations: 49.64 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.2437, allocations: 207.8 kB / 0.7901 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2437, allocations: 4 kB / 0.7901 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2437, allocations: 0 / 0.7901 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2437, allocations: 0 / 0.7901 GB, free: 9.027 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.000737/0.2445, allocations: 446.9 kB / 0.7905 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2445, allocations: 16.02 kB / 0.7906 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.2446, allocations: 15.81 kB / 0.7906 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.2449, allocations: 206.9 kB / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.2449, allocations: 4 kB / 0.7908 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.2449, allocations: 12 kB / 0.7908 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.2451, allocations: 103 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.2452, allocations: 0 / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2452, allocations: 4 kB / 0.7909 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2452, allocations: 4 kB / 0.7909 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.868e-05/0.2453, allocations: 43.91 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.2456, allocations: 255.3 kB / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.2457, allocations: 99.83 kB / 0.7913 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2459, allocations: 74.7 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.2459, allocations: 4 kB / 0.7914 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.2461, allocations: 140.8 kB / 0.7915 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.2462, allocations: 0 / 0.7915 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0004454/0.2466, allocations: 217.4 kB / 0.7917 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.2467, allocations: 118.8 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2468, allocations: 141.9 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.2469, allocations: 37.7 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.247, allocations: 100.6 kB / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/0.247, allocations: 51.36 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.2471, allocations: 4 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2472, allocations: 326.8 kB / 0.7924 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.2473, allocations: 52.27 kB / 0.7925 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.2475, allocations: 172.5 kB / 0.7927 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.2476, allocations: 71.88 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2476, allocations: 4 kB / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003106/0.248, allocations: 197.4 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.248, allocations: 4 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/0.248, allocations: 8.125 kB / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.248, allocations: 7.938 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.2481, allocations: 19.92 kB / 0.793 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2482, allocations: 4.938 kB / 0.793 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.2484, allocations: 55.8 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2484, allocations: 12 kB / 0.793 GB, free: 5.73 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.2486, allocations: 136 kB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2486, allocations: 11.81 kB / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.2486, allocations: 20.72 kB / 0.7932 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2486, allocations: 4 kB / 0.7932 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2487, allocations: 3.984 kB / 0.7932 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2487, allocations: 0 / 0.7932 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.2488, allocations: 201.5 kB / 0.7934 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.2489, allocations: 11.89 kB / 0.7934 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.2489, allocations: 11.98 kB / 0.7934 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2489, allocations: 0 / 0.7934 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2489, allocations: 8 kB / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2489, allocations: 0 / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2489, allocations: 0 / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.2492, allocations: 224.9 kB / 0.7936 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.2493, allocations: 92.91 kB / 0.7937 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.2493, allocations: 0 / 0.7937 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.2494, allocations: 8 kB / 0.7937 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.2494, allocations: 7.984 kB / 0.7937 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2494, allocations: 15.98 kB / 0.7937 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.2495, allocations: 102.2 kB / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.51e-07/0.2495, allocations: 0 / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003791/0.2499, allocations: 104 kB / 0.7939 GB, free: 4.688 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003315/0.2502, allocations: 207 kB / 0.7941 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.2506, allocations: 213.3 kB / 0.7943 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2506, allocations: 4 kB / 0.7943 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.2507, allocations: 52.17 kB / 0.7944 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.2509, allocations: 19.83 kB / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.2514, allocations: 267.9 kB / 0.7947 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2517, allocations: 0.7049 MB / 0.7954 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.964e-05/0.2517, allocations: 16.86 kB / 0.7954 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.2517, allocations: 19.44 kB / 0.7954 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2517, allocations: 0 / 0.7954 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.005826/0.2576, allocations: 2.87 MB / 0.7982 GB, free: 280 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: