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.0007577/0.0007577, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008885/0.0008886, allocations: 168.7 kB / 15.95 MB, free: 204 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.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.699/1.699, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004565/0.0004565, allocations: 12.34 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.236, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002053/0.2381, allocations: 1.128 MB / 0.7884 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2392, allocations: 475.8 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.2393, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.332e-05/0.2394, allocations: 7.984 kB / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.687e-05/0.2395, allocations: 7.938 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009313/0.2404, allocations: 191.6 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.2407, allocations: 123.7 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.2407, allocations: 4 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.2408, allocations: 51.89 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.2409, allocations: 39.89 kB / 0.7892 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.241, allocations: 4 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.2412, allocations: 155.8 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.2413, allocations: 31.95 kB / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.2414, allocations: 41.64 kB / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.2416, allocations: 167.9 kB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2416, allocations: 0 / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2417, allocations: 0 / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.2417, allocations: 0 / 0.7896 GB, free: 9.5 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.0005738/0.2422, allocations: 423 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2423, allocations: 8.031 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.2424, allocations: 15.81 kB / 0.7901 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.2426, allocations: 210.8 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2426, allocations: 12 kB / 0.7903 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.2426, allocations: 8 kB / 0.7903 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2428, allocations: 79.39 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2428, allocations: 0 / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2429, allocations: 4 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2429, allocations: 0 / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/0.2429, allocations: 43.91 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.2432, allocations: 246.3 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.2433, allocations: 77.25 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.2434, allocations: 61.69 kB / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.2434, allocations: 4 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.2436, allocations: 108.7 kB / 0.7909 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2436, allocations: 4 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003515/0.244, allocations: 177.5 kB / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.2441, allocations: 89.08 kB / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2442, allocations: 156.6 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2442, allocations: 33.7 kB / 0.7913 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.2443, allocations: 100.5 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.2444, allocations: 31.55 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.2444, allocations: 8 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.2445, allocations: 326.7 kB / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.2446, allocations: 52.09 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.2448, allocations: 195.8 kB / 0.792 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.113e-05/0.2449, allocations: 59.88 kB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2449, allocations: 0 / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002243/0.2451, allocations: 161.3 kB / 0.7922 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2451, allocations: 8 kB / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.2451, allocations: 0 / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2452, allocations: 4 kB / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.2452, allocations: 8 kB / 0.7922 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2452, allocations: 4 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.2455, allocations: 87.83 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.2456, allocations: 12 kB / 0.7923 GB, free: 6.43 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 ($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.0001188/0.2457, allocations: 145.6 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.2457, allocations: 11.81 kB / 0.7925 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.2457, allocations: 16.7 kB / 0.7925 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2457, allocations: 4.078 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2458, allocations: 0 / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2458, allocations: 4 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.2459, allocations: 197.6 kB / 0.7927 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2459, allocations: 0 / 0.7927 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.246, allocations: 4 kB / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.246, allocations: 4 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.246, allocations: 4 kB / 0.7927 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.246, allocations: 0 / 0.7927 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.246, allocations: 4 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.2462, allocations: 190.3 kB / 0.7929 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.2463, allocations: 92.94 kB / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.2463, allocations: 0 / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.994e-05/0.2463, allocations: 4 kB / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.2464, allocations: 11.98 kB / 0.793 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2464, allocations: 4 kB / 0.793 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.2465, allocations: 109.7 kB / 0.7931 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2465, allocations: 0 / 0.7931 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003097/0.2468, allocations: 72 kB / 0.7932 GB, free: 5.469 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 (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.000343/0.2471, allocations: 163.1 kB / 0.7933 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.2474, allocations: 175.5 kB / 0.7935 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2474, allocations: 0 / 0.7935 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.2475, allocations: 39.92 kB / 0.7935 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.2477, allocations: 11.95 kB / 0.7935 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.2481, allocations: 245.4 kB / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2484, allocations: 0.7004 MB / 0.7944 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.2484, allocations: 20.59 kB / 0.7945 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.2485, allocations: 11.44 kB / 0.7945 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2485, allocations: 0 / 0.7945 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.005246/0.2537, allocations: 2.327 MB / 0.7968 GB, free: 1.727 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: