Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.266/2.266, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 180.8 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.769/2.769, allocations: 205.4 MB / 0.5766 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 100.5 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006722/0.0006725, allocations: 10.56 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2193, allocations: 106.3 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001658/0.221, allocations: 1.151 MB / 0.9 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.222, allocations: 384.1 kB / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.2221, allocations: 0 / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.921e-05/0.2221, allocations: 3.938 kB / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.2223, allocations: 19.97 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.223, allocations: 178 kB / 0.9006 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.2232, allocations: 163.7 kB / 0.9007 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.2233, allocations: 8.234 kB / 0.9007 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.2235, allocations: 131.8 kB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.2237, allocations: 119.7 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.2238, allocations: 20 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2239, allocations: 31.98 kB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.224, allocations: 43.88 kB / 0.901 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.2241, allocations: 61.64 kB / 0.9011 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.2244, allocations: 187.5 kB / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2244, allocations: 0 / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2244, allocations: 0 / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2244, allocations: 0 / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00107/0.2255, allocations: 0.5139 MB / 0.9018 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2255, allocations: 8.031 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2257, allocations: 35.73 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.226, allocations: 264.2 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.2261, allocations: 16 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.2262, allocations: 35.98 kB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.2269, allocations: 257.7 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2269, allocations: 0 / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.227, allocations: 11.98 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.227, allocations: 0 / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.2275, allocations: 99.86 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.2279, allocations: 372 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.2286, allocations: 242.6 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2286, allocations: 4.125 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007244/0.2293, allocations: 280.3 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 2.565e-06/0.2293, allocations: 0 / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.001756/0.2311, allocations: 0.5331 MB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.2312, allocations: 152.7 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2313, allocations: 151.4 kB / 0.9042 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/0.2314, allocations: 45.69 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.2315, allocations: 100.6 kB / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.2316, allocations: 63.2 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.2317, allocations: 12 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.2317, allocations: 330.8 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.2322, allocations: 175.9 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.2326, allocations: 215.3 kB / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.2331, allocations: 228.6 kB / 0.9053 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2331, allocations: 0 / 0.9053 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001504/0.2346, allocations: 0.7406 MB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.2347, allocations: 91.39 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2347, allocations: 0 / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2347, allocations: 4 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2349, allocations: 19.98 kB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2349, allocations: 3.938 kB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.2356, allocations: 87.75 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.2357, allocations: 20 kB / 0.9062 GB, free: 58.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0002083/0.2359, allocations: 156.4 kB / 0.9064 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.236, allocations: 19.81 kB / 0.9064 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.236, allocations: 24.66 kB / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.236, allocations: 4 kB / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.236, allocations: 3.938 kB / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2361, allocations: 0 / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.2363, allocations: 265.3 kB / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.2363, allocations: 0 / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.642e-05/0.2364, allocations: 15.92 kB / 0.9067 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2365, allocations: 4 kB / 0.9067 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.2365, allocations: 15.97 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2365, allocations: 7.953 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2365, allocations: 0 / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.2377, allocations: 0.4894 MB / 0.9072 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.2378, allocations: 92.86 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/0.2379, allocations: 19.98 kB / 0.9073 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2382, allocations: 19.97 kB / 0.9073 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.2383, allocations: 23.97 kB / 0.9073 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.2383, allocations: 27.92 kB / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.707e-05/0.2384, allocations: 118.5 kB / 0.9075 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2384, allocations: 0 / 0.9075 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004561/0.2389, allocations: 79.94 kB / 0.9075 GB, free: 56.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002182/0.2391, allocations: 142.9 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.2404, allocations: 0.6939 MB / 0.9084 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2404, allocations: 0 / 0.9084 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.2409, allocations: 163.8 kB / 0.9085 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.2411, allocations: 15.92 kB / 0.9085 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2422, allocations: 402.8 kB / 0.9089 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.2424, allocations: 0.7247 MB / 0.9096 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.18e-05/0.2424, allocations: 13.42 kB / 0.9096 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.2425, allocations: 19.44 kB / 0.9097 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/0.2425, allocations: 0 / 0.9097 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.008579/0.2511, allocations: 3.206 MB / 0.9128 GB, free: 51.18 MB / 0.6042 GB