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.255/2.255, allocations: 252.6 MB / 265.2 MB, free: 5.676 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001445, allocations: 178.8 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.299/2.299, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001072/0.001072, allocations: 96.58 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.672e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8456/1.042, allocations: 132 MB / 1.024 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.042, allocations: 68.47 kB / 1.024 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01756/1.06, allocations: 3.287 MB / 1.027 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.893e-06/1.06, allocations: 0 / 1.027 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.159e-05/1.06, allocations: 4 kB / 1.027 GB, free: 15.54 MB / 0.6511 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.001302/1.061, allocations: 0.538 MB / 1.028 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.061, allocations: 8.031 kB / 1.028 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/1.061, allocations: 31.83 kB / 1.028 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009131/1.062, allocations: 278.5 kB / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/1.062, allocations: 21.92 kB / 1.028 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.062, allocations: 31.98 kB / 1.028 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/1.063, allocations: 242.7 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.063, allocations: 3.984 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/1.063, allocations: 4 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.063, allocations: 0 / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/1.063, allocations: 96.89 kB / 1.028 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/1.064, allocations: 378.2 kB / 1.029 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/1.065, allocations: 229.4 kB / 1.029 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/1.065, allocations: 119.7 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/1.065, allocations: 4 kB / 1.029 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/1.066, allocations: 271.1 kB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 3.547e-06/1.066, allocations: 0 / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.001175/1.067, allocations: 408.1 kB / 1.03 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/1.067, allocations: 147.3 kB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/1.067, allocations: 138.9 kB / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.942e-05/1.067, allocations: 45 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.067, allocations: 106.7 kB / 1.03 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/1.067, allocations: 61.81 kB / 1.03 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/1.067, allocations: 11.88 kB / 1.03 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.068, allocations: 329.9 kB / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/1.068, allocations: 180.8 kB / 1.031 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/1.069, allocations: 206.9 kB / 1.031 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/1.069, allocations: 225.7 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.069, allocations: 0 / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001804/1.071, allocations: 0.7245 MB / 1.032 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.071, allocations: 84.66 kB / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.071, allocations: 0 / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.071, allocations: 4 kB / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/1.071, allocations: 15.92 kB / 1.032 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/1.071, allocations: 8.047 kB / 1.032 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/1.072, allocations: 83.14 kB / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/1.072, allocations: 19.42 kB / 1.032 GB, free: 10.92 MB / 0.6511 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 () * 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.0002345/1.072, allocations: 146.7 kB / 1.032 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/1.072, allocations: 27.7 kB / 1.032 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/1.073, allocations: 15.69 kB / 1.032 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.073, allocations: 11.92 kB / 1.032 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.073, allocations: 0 / 1.032 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.073, allocations: 0 / 1.032 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/1.073, allocations: 267 kB / 1.032 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.073, allocations: 0 / 1.032 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/1.073, allocations: 15.98 kB / 1.032 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.073, allocations: 0 / 1.032 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/1.073, allocations: 19.11 kB / 1.032 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/1.073, allocations: 8 kB / 1.032 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.073, allocations: 0 / 1.032 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.074, allocations: 476 kB / 1.033 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/1.074, allocations: 92.92 kB / 1.033 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.075, allocations: 22.92 kB / 1.033 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/1.075, allocations: 19.86 kB / 1.033 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/1.075, allocations: 19.78 kB / 1.033 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/1.075, allocations: 27.16 kB / 1.033 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001268/1.075, allocations: 113.4 kB / 1.033 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.075, allocations: 0 / 1.033 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005633/1.076, allocations: 91.67 kB / 1.033 GB, free: 9.621 MB / 0.6511 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) * 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.0003031/1.076, allocations: 151.7 kB / 1.033 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001396/1.077, allocations: 0.6637 MB / 1.034 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.078, allocations: 3.938 kB / 1.034 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/1.078, allocations: 154.3 kB / 1.034 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/1.078, allocations: 14.17 kB / 1.034 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/1.079, allocations: 300.5 kB / 1.034 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/1.08, allocations: 0.7207 MB / 1.035 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.206e-05/1.08, allocations: 9.203 kB / 1.035 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/1.08, allocations: 23 kB / 1.035 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of SimCode: time 3.817e-06/1.08, allocations: 0 / 1.035 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of Templates: time 0.01104/1.091, allocations: 3.172 MB / 1.038 GB, free: 4.73 MB / 0.6511 GB