Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00624/0.006246, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001174/0.001174, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.963/3.963, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.943/3.943, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005035, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1816, allocations: 98.72 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7986/0.9803, allocations: 125.2 MB / 1.227 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.9806, allocations: 78.25 kB / 1.227 GB, free: 28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.9971, allocations: 3.293 MB / 1.23 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9972, allocations: 3.938 kB / 1.23 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.9972, allocations: 0 / 1.23 GB, free: 26.12 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001599/0.9988, allocations: 0.5412 MB / 1.231 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.9989, allocations: 12.02 kB / 1.231 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.9991, allocations: 29.22 kB / 1.231 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/1, allocations: 270.9 kB / 1.231 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/1, allocations: 20.3 kB / 1.231 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/1, allocations: 28.69 kB / 1.231 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/1.001, allocations: 263.2 kB / 1.231 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.002, allocations: 1.734 kB / 1.231 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/1.002, allocations: 5.484 kB / 1.231 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.002, allocations: 4.609 kB / 1.231 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/1.002, allocations: 106 kB / 1.231 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008281/1.003, allocations: 377 kB / 1.232 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/1.004, allocations: 243.2 kB / 1.232 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/1.004, allocations: 132.2 kB / 1.232 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/1.005, allocations: 4.734 kB / 1.232 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009713/1.006, allocations: 286.5 kB / 1.232 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 3.446e-06/1.006, allocations: 0 / 1.232 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.002562/1.008, allocations: 0.5275 MB / 1.233 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/1.008, allocations: 143.1 kB / 1.233 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/1.009, allocations: 153 kB / 1.233 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.009, allocations: 45.45 kB / 1.233 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.009, allocations: 106.3 kB / 1.233 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/1.009, allocations: 64.31 kB / 1.233 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/1.009, allocations: 11.88 kB / 1.233 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001942/1.009, allocations: 328.5 kB / 1.234 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006857/1.01, allocations: 182.9 kB / 1.234 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/1.011, allocations: 210.9 kB / 1.234 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006953/1.011, allocations: 226.8 kB / 1.234 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.011, allocations: 0 / 1.234 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002425/1.014, allocations: 0.7323 MB / 1.235 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/1.014, allocations: 77.34 kB / 1.235 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.014, allocations: 6.625 kB / 1.235 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/1.014, allocations: 0 / 1.235 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.014, allocations: 26.09 kB / 1.235 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.014, allocations: 0 / 1.235 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009525/1.015, allocations: 79.58 kB / 1.235 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.016, allocations: 22.52 kB / 1.235 GB, free: 22.05 MB / 0.6198 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.0003948/1.016, allocations: 155.6 kB / 1.235 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/1.016, allocations: 29.66 kB / 1.235 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/1.016, allocations: 18.38 kB / 1.235 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.016, allocations: 4 kB / 1.235 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.016, allocations: 0 / 1.235 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.016, allocations: 0 / 1.235 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/1.017, allocations: 263.7 kB / 1.236 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.017, allocations: 0 / 1.236 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/1.017, allocations: 22 kB / 1.236 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/1.017, allocations: 3.953 kB / 1.236 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/1.017, allocations: 15.22 kB / 1.236 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.017, allocations: 4 kB / 1.236 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.017, allocations: 0 / 1.236 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/1.019, allocations: 465.9 kB / 1.236 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/1.019, allocations: 88.92 kB / 1.236 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/1.019, allocations: 22.02 kB / 1.236 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/1.019, allocations: 22.11 kB / 1.236 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.019, allocations: 27.77 kB / 1.236 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/1.019, allocations: 21.25 kB / 1.236 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001545/1.019, allocations: 117.8 kB / 1.236 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.5e-07/1.019, allocations: 0 / 1.236 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008261/1.02, allocations: 85.88 kB / 1.237 GB, free: 20.95 MB / 0.6198 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.0003114/1.021, allocations: 155 kB / 1.237 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001841/1.023, allocations: 0.6859 MB / 1.237 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.023, allocations: 4 kB / 1.237 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/1.023, allocations: 163.8 kB / 1.238 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/1.024, allocations: 20.8 kB / 1.238 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/1.025, allocations: 409.4 kB / 1.238 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/1.026, allocations: 0.7239 MB / 1.239 GB, free: 35.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.455e-05/1.026, allocations: 12.2 kB / 1.239 GB, free: 35.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/1.026, allocations: 18.14 kB / 1.239 GB, free: 35.21 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/1.026, allocations: 4 kB / 1.239 GB, free: 35.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.01209/1.038, allocations: 3.167 MB / 1.242 GB, free: 33.17 MB / 0.6355 GB