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.009211/0.009217, allocations: 108.7 kB / 15.06 MB, free: 5.562 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.001125/0.001125, allocations: 180.1 kB / 15.95 MB, free: 5.523 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 1.87/1.87, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.503/2.503, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004653, allocations: 12 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.5431, allocations: 98.72 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001469/0.5446, allocations: 1.131 MB / 0.6844 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007981/0.5455, allocations: 377.6 kB / 0.6848 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.5455, allocations: 0 / 0.6848 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.576e-05/0.5456, allocations: 8.156 kB / 0.6848 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.5457, allocations: 10.39 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.5464, allocations: 181.4 kB / 0.685 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.5466, allocations: 158.3 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.5467, allocations: 14.64 kB / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.5469, allocations: 140.6 kB / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.5471, allocations: 118.7 kB / 0.6854 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.5472, allocations: 15.88 kB / 0.6854 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.5473, allocations: 29.19 kB / 0.6854 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.5474, allocations: 45.36 kB / 0.6855 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.5475, allocations: 65.81 kB / 0.6856 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.5478, allocations: 180.9 kB / 0.6857 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.648e-06/0.5478, allocations: 0 / 0.6857 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.265e-06/0.5478, allocations: 1.438 kB / 0.6857 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.019e-06/0.5479, allocations: 0 / 0.6857 GB, free: 15.31 MB / 0.5261 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.0008364/0.5487, allocations: 0.5182 MB / 0.6862 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5487, allocations: 9 kB / 0.6862 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.5489, allocations: 33.69 kB / 0.6863 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.5492, allocations: 253.3 kB / 0.6865 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.5493, allocations: 18.95 kB / 0.6865 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.5494, allocations: 31.2 kB / 0.6866 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.55, allocations: 252.8 kB / 0.6868 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.55, allocations: 0 / 0.6868 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.5501, allocations: 9.922 kB / 0.6868 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.5501, allocations: 6.625 kB / 0.6868 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.5505, allocations: 102.1 kB / 0.6869 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.551, allocations: 377.5 kB / 0.6873 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.5516, allocations: 240.6 kB / 0.6875 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.5516, allocations: 3.453 kB / 0.6875 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/0.5523, allocations: 273.8 kB / 0.6878 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 3.263e-06/0.5523, allocations: 0 / 0.6878 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.001584/0.5539, allocations: 0.5322 MB / 0.6883 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.554, allocations: 145.8 kB / 0.6884 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.5541, allocations: 147.9 kB / 0.6886 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.5542, allocations: 47 kB / 0.6886 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.5543, allocations: 109 kB / 0.6887 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.5544, allocations: 61.78 kB / 0.6888 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.5544, allocations: 11.59 kB / 0.6888 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.5545, allocations: 329.6 kB / 0.6891 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.555, allocations: 176.8 kB / 0.6893 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.5554, allocations: 227.6 kB / 0.6895 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.5558, allocations: 229.3 kB / 0.6897 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.882e-06/0.5559, allocations: 3.938 kB / 0.6897 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001562/0.5574, allocations: 0.7263 MB / 0.6904 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/0.5576, allocations: 92.62 kB / 0.6905 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.948e-06/0.5576, allocations: 1.125 kB / 0.6905 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.5576, allocations: 6.906 kB / 0.6905 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.5578, allocations: 17.34 kB / 0.6905 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.993e-06/0.5578, allocations: 6.797 kB / 0.6905 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.5583, allocations: 81.95 kB / 0.6906 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/0.5584, allocations: 21.36 kB / 0.6906 GB, free: 12.28 MB / 0.5261 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.0002619/0.5587, allocations: 164.8 kB / 0.6908 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.5588, allocations: 20.05 kB / 0.6908 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.5589, allocations: 22.73 kB / 0.6908 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.5589, allocations: 4.312 kB / 0.6908 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.562e-06/0.5589, allocations: 1.125 kB / 0.6908 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.465e-06/0.5589, allocations: 2.797 kB / 0.6908 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.5592, allocations: 265.1 kB / 0.6911 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-06/0.5592, allocations: 1.125 kB / 0.6911 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.336e-05/0.5593, allocations: 11.84 kB / 0.6911 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.65e-06/0.5593, allocations: 5.5 kB / 0.6911 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.5594, allocations: 19.83 kB / 0.6911 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.5594, allocations: 10.58 kB / 0.6911 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.813e-06/0.5594, allocations: 1.031 kB / 0.6911 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.5605, allocations: 0.4906 MB / 0.6916 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.5606, allocations: 90.3 kB / 0.6917 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.536e-05/0.5607, allocations: 20.44 kB / 0.6917 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.5609, allocations: 19.3 kB / 0.6917 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.561, allocations: 25.89 kB / 0.6918 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.5611, allocations: 21.33 kB / 0.6918 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001009/0.5612, allocations: 114.7 kB / 0.6919 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.48e-07/0.5612, allocations: 0 / 0.6919 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005324/0.5618, allocations: 80.67 kB / 0.692 GB, free: 11.4 MB / 0.5261 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.0002176/0.562, allocations: 146.1 kB / 0.6921 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.5633, allocations: 0.6932 MB / 0.6928 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5633, allocations: 0 / 0.6928 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.5638, allocations: 169.4 kB / 0.693 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.564, allocations: 13 kB / 0.693 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.565, allocations: 411.7 kB / 0.6934 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.5652, allocations: 0.7196 MB / 0.6941 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.25e-05/0.5652, allocations: 12.27 kB / 0.6941 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.5653, allocations: 21.05 kB / 0.6941 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of SimCode: time 1.776e-06/0.5653, allocations: 4 kB / 0.6941 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of Templates: time 0.008793/0.5741, allocations: 3.204 MB / 0.6972 GB, free: 9.02 MB / 0.5261 GB