Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.707/2.707, allocations: 287.5 MB / 302.4 MB, free: 8.414 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001418, allocations: 190.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 85.17 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006558, allocations: 11.62 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2891, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00251/0.2917, allocations: 1.132 MB / 0.9794 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2933, allocations: 467.7 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.2935, allocations: 4 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.969e-05/0.2936, allocations: 3.984 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.2937, allocations: 7.938 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.2951, allocations: 194.2 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.2955, allocations: 119.8 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.273e-05/0.2955, allocations: 4 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2957, allocations: 55.83 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.2958, allocations: 43.83 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.2959, allocations: 4 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.2965, allocations: 151.8 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.2966, allocations: 35.89 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.2967, allocations: 45.64 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.2972, allocations: 168 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2972, allocations: 0 / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2972, allocations: 0 / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2972, allocations: 0 / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007817/0.298, allocations: 415 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.2981, allocations: 12.02 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.2982, allocations: 23.81 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.2985, allocations: 206.9 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.2986, allocations: 8 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.2987, allocations: 11.94 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.299, allocations: 79.39 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.299, allocations: 0 / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.299, allocations: 0 / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2991, allocations: 0 / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.2992, allocations: 47.89 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.2997, allocations: 246.3 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.2999, allocations: 77.23 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.3001, allocations: 53.81 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3001, allocations: 0 / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.3005, allocations: 121 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 3.596e-06/0.3005, allocations: 0 / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0007211/0.3012, allocations: 177.5 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.3013, allocations: 89.08 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3016, allocations: 155.6 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.3016, allocations: 37.7 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.3017, allocations: 100.5 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.3018, allocations: 39.55 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.3019, allocations: 0 / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.302, allocations: 330.8 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3022, allocations: 36.17 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.3026, allocations: 199.7 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.3028, allocations: 63.89 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3029, allocations: 8 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004971/0.3034, allocations: 157.3 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3034, allocations: 10.03 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/0.3035, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.3035, allocations: 4 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3037, allocations: 8 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3037, allocations: 4 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.3045, allocations: 88.61 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3046, allocations: 8 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002199/0.3048, allocations: 141.8 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.3049, allocations: 11.81 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.305, allocations: 16.7 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.305, allocations: 0 / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.305, allocations: 0 / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.305, allocations: 4 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3053, allocations: 193.6 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3053, allocations: 0 / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.3054, allocations: 16 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.3054, allocations: 0 / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.3055, allocations: 0 / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3055, allocations: 0 / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3055, allocations: 4 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.306, allocations: 181.7 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.306, allocations: 88.95 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.3061, allocations: 4.078 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3062, allocations: 8 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.3063, allocations: 19.91 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3064, allocations: 4 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001255/0.3065, allocations: 110.7 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.71e-07/0.3065, allocations: 0 / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006884/0.3072, allocations: 79.95 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004564/0.3077, allocations: 162.1 kB / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.3082, allocations: 171.2 kB / 0.9845 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3083, allocations: 4 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3084, allocations: 39.92 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3088, allocations: 8 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.3095, allocations: 243.6 kB / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.3098, allocations: 0.7004 MB / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.568e-05/0.3099, allocations: 4.672 kB / 0.9855 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.31, allocations: 19.42 kB / 0.9855 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.563e-06/0.31, allocations: 0 / 0.9855 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.01048/0.3205, allocations: 2.331 MB / 0.9878 GB, free: 18.19 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)