Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009232/0.009232, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.89/1.89, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.000651/0.000651, allocations: 16.95 kB / 0.6743 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4022, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002625/0.4049, allocations: 1.147 MB / 0.789 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.4064, allocations: 0.4996 MB / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.79e-05/0.4066, allocations: 0 / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.4067, allocations: 7.938 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.4069, allocations: 19.84 kB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4081, allocations: 195.4 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.4084, allocations: 131.8 kB / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.4085, allocations: 7.984 kB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4086, allocations: 47.91 kB / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.4088, allocations: 43.83 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.4088, allocations: 8 kB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.4093, allocations: 167.8 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4094, allocations: 27.91 kB / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4096, allocations: 81.41 kB / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.4101, allocations: 231.6 kB / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4101, allocations: 0 / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.178e-06/0.4102, allocations: 0 / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.4102, allocations: 0 / 0.7904 GB, free: 8.98 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008748/0.411, allocations: 423.2 kB / 0.7908 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.4111, allocations: 8.031 kB / 0.7908 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/0.4112, allocations: 16.75 kB / 0.7908 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.4115, allocations: 204.1 kB / 0.791 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.4116, allocations: 8.375 kB / 0.791 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.4116, allocations: 16.36 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.4118, allocations: 83.89 kB / 0.7911 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4119, allocations: 4.125 kB / 0.7911 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4119, allocations: 7.938 kB / 0.7911 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4119, allocations: 0 / 0.7911 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.412, allocations: 39.92 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.4124, allocations: 234.4 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.4126, allocations: 77.14 kB / 0.7915 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.4127, allocations: 65.84 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.4127, allocations: 0 / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.413, allocations: 105.1 kB / 0.7916 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.284e-06/0.413, allocations: 0 / 0.7916 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004643/0.4135, allocations: 189.4 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.4136, allocations: 89.11 kB / 0.7919 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.4138, allocations: 152.3 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.4139, allocations: 37.69 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.4139, allocations: 104.5 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.414, allocations: 39.53 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.4141, allocations: 29.7 kB / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4143, allocations: 322.8 kB / 0.7926 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.4143, allocations: 39.98 kB / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.4146, allocations: 201.1 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.4147, allocations: 97.58 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4148, allocations: 4 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002882/0.415, allocations: 161.4 kB / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4151, allocations: 4 kB / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/0.4151, allocations: 7.984 kB / 0.793 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4151, allocations: 0 / 0.793 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.4152, allocations: 11.94 kB / 0.7931 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4153, allocations: 0 / 0.7931 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.4156, allocations: 87.84 kB / 0.7931 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.4156, allocations: 4 kB / 0.7931 GB, free: 5.848 MB / 0.6075 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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000179/0.4158, allocations: 146.5 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.4159, allocations: 19.69 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.4159, allocations: 16.7 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4159, allocations: 3.938 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4159, allocations: 0 / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.416, allocations: 0 / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.4162, allocations: 193.6 kB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4162, allocations: 3.938 kB / 0.7935 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.4163, allocations: 11.98 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4163, allocations: 0 / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.4163, allocations: 4 kB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4163, allocations: 0.625 kB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4163, allocations: 0 / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.4166, allocations: 181.7 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.4166, allocations: 96.83 kB / 0.7938 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.4167, allocations: 8 kB / 0.7938 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.4167, allocations: 7.984 kB / 0.7938 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.4168, allocations: 4 kB / 0.7938 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4168, allocations: 7.984 kB / 0.7938 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.348e-05/0.4169, allocations: 107.3 kB / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4169, allocations: 4 kB / 0.7939 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003634/0.4173, allocations: 71.98 kB / 0.794 GB, free: 4.875 MB / 0.6075 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 (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.0003666/0.4177, allocations: 163.2 kB / 0.7942 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.418, allocations: 175.3 kB / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.418, allocations: 0 / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.805e-05/0.4181, allocations: 43.92 kB / 0.7944 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.4183, allocations: 13.83 kB / 0.7944 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.4189, allocations: 246.6 kB / 0.7946 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.4192, allocations: 0.7083 MB / 0.7953 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.732e-05/0.4193, allocations: 8.609 kB / 0.7953 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.4193, allocations: 15.44 kB / 0.7953 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of SimCode: time 7.82e-07/0.4193, allocations: 0 / 0.7953 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of Templates: time 0.007298/0.4267, allocations: 2.394 MB / 0.7977 GB, free: 1.059 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) Environment - environmentSimulation: