Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.998/3.998, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.179e-05/4.211e-05, allocations: 2.656 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.3962, allocations: 125.1 MB / 0.7569 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.3965, allocations: 79.94 kB / 0.7569 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.412, allocations: 3.279 MB / 0.7601 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.969e-06/0.412, allocations: 3.938 kB / 0.7601 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.412, allocations: 0 / 0.7601 GB, free: 1.324 MB / 0.6355 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.001028/0.4131, allocations: 0.5287 MB / 0.7607 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4131, allocations: 8.031 kB / 0.7607 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.4133, allocations: 31.89 kB / 0.7607 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.414, allocations: 268.6 kB / 0.7609 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.4141, allocations: 23.92 kB / 0.761 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.4142, allocations: 35.92 kB / 0.761 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.4147, allocations: 244.9 kB / 0.7612 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4147, allocations: 0 / 0.7612 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.4148, allocations: 4 kB / 0.7612 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4148, allocations: 0 / 0.7612 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.4151, allocations: 95.89 kB / 0.7613 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.4157, allocations: 387.7 kB / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.4161, allocations: 222.9 kB / 0.7619 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.4164, allocations: 119.4 kB / 0.762 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.4164, allocations: 4 kB / 0.762 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/0.417, allocations: 258.4 kB / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 3.696e-06/0.417, allocations: 0 / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.0009945/0.418, allocations: 421.1 kB / 0.7627 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.4181, allocations: 148.5 kB / 0.7628 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.4183, allocations: 131.6 kB / 0.7629 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.805e-05/0.4184, allocations: 45.69 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4185, allocations: 100.6 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/0.4186, allocations: 63.19 kB / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.4187, allocations: 12 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4189, allocations: 334.9 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.4193, allocations: 171.9 kB / 0.7636 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.4198, allocations: 211.1 kB / 0.7638 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.4202, allocations: 230.5 kB / 0.7641 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-06/0.4203, allocations: 4 kB / 0.7641 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001571/0.4218, allocations: 0.7139 MB / 0.7648 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.422, allocations: 83.38 kB / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.422, allocations: 0 / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.422, allocations: 7.984 kB / 0.7648 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4222, allocations: 19.92 kB / 0.7649 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.4222, allocations: 0 / 0.7649 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.4228, allocations: 87.77 kB / 0.765 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-05/0.4228, allocations: 23.98 kB / 0.765 GB, free: 12 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.0002138/0.4231, allocations: 136 kB / 0.7651 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.4232, allocations: 27.77 kB / 0.7651 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.4232, allocations: 24.61 kB / 0.7652 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.05e-06/0.4232, allocations: 7.938 kB / 0.7652 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.166e-06/0.4233, allocations: 0 / 0.7652 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.091e-06/0.4233, allocations: 4 kB / 0.7652 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.4236, allocations: 253.4 kB / 0.7654 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-06/0.4236, allocations: 0 / 0.7654 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-05/0.4237, allocations: 19.98 kB / 0.7654 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.914e-06/0.4238, allocations: 0 / 0.7654 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.4238, allocations: 19.92 kB / 0.7654 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.018e-06/0.4238, allocations: 0 / 0.7654 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.72e-06/0.4238, allocations: 3.938 kB / 0.7654 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.4248, allocations: 486.5 kB / 0.7659 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.4249, allocations: 92.86 kB / 0.766 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.425, allocations: 23.98 kB / 0.766 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.4252, allocations: 23.97 kB / 0.766 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.4253, allocations: 19.97 kB / 0.7661 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.4254, allocations: 19.98 kB / 0.7661 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001224/0.4255, allocations: 117.2 kB / 0.7662 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.57e-07/0.4255, allocations: 0 / 0.7662 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005261/0.426, allocations: 87.98 kB / 0.7663 GB, free: 10.55 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.0002811/0.4263, allocations: 158.9 kB / 0.7664 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.4276, allocations: 0.6627 MB / 0.7671 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.746e-06/0.4276, allocations: 0 / 0.7671 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.4279, allocations: 155.9 kB / 0.7672 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.4281, allocations: 11.98 kB / 0.7672 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.4289, allocations: 313.2 kB / 0.7675 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.4293, allocations: 0.7169 MB / 0.7682 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.664e-05/0.4294, allocations: 13.2 kB / 0.7683 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.4295, allocations: 11.44 kB / 0.7683 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of SimCode: time 1.858e-06/0.4295, allocations: 0 / 0.7683 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of Templates: time 0.009358/0.4388, allocations: 3.166 MB / 0.7714 GB, free: 5.281 MB / 0.6511 GB