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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01064/0.01065, allocations: 109 kB / 15.06 MB, free: 5.555 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.001186/0.001187, allocations: 179.6 kB / 15.95 MB, free: 5.52 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 2.066/2.066, allocations: 194.6 MB / 211.3 MB, free: 11.14 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.227/2.227, allocations: 236.1 MB / 492.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006739/0.000674, allocations: 12 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6446, allocations: 98.71 MB / 0.6834 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001802/0.6465, allocations: 1.132 MB / 0.6845 GB, free: 16.08 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.6474, allocations: 385.2 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.6475, allocations: 1.406 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 6.725e-05/0.6476, allocations: 6.484 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.6478, allocations: 14.47 kB / 0.6849 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.6485, allocations: 181.3 kB / 0.6851 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.6488, allocations: 155.5 kB / 0.6852 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.6489, allocations: 8.219 kB / 0.6852 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.6492, allocations: 143.8 kB / 0.6854 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.6495, allocations: 116.7 kB / 0.6855 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.709e-05/0.6496, allocations: 14.78 kB / 0.6855 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.6497, allocations: 35.23 kB / 0.6855 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.6498, allocations: 40.48 kB / 0.6856 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.65, allocations: 67.45 kB / 0.6856 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.6503, allocations: 183.8 kB / 0.6858 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.6503, allocations: 0 / 0.6858 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6503, allocations: 1.281 kB / 0.6858 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6503, allocations: 4 kB / 0.6858 GB, free: 15.44 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.001093/0.6514, allocations: 0.5144 MB / 0.6863 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6515, allocations: 9.531 kB / 0.6863 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.618e-05/0.6516, allocations: 42.55 kB / 0.6864 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.6517, allocations: 34.95 kB / 0.6864 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.6521, allocations: 254.6 kB / 0.6867 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.6522, allocations: 19.14 kB / 0.6867 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6523, allocations: 31.64 kB / 0.6867 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/0.6531, allocations: 249.7 kB / 0.6869 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.6532, allocations: 0 / 0.6869 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.6532, allocations: 4.547 kB / 0.6869 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.6532, allocations: 3.75 kB / 0.6869 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.6537, allocations: 103.8 kB / 0.687 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.6543, allocations: 384.4 kB / 0.6874 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.655, allocations: 247.7 kB / 0.6876 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.6551, allocations: 3.297 kB / 0.6877 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008181/0.6559, allocations: 276.2 kB / 0.6879 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 3.066e-06/0.6559, allocations: 1.031 kB / 0.6879 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.002005/0.6579, allocations: 0.5363 MB / 0.6884 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.658, allocations: 138.8 kB / 0.6886 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.6582, allocations: 153.8 kB / 0.6887 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/0.6583, allocations: 41.97 kB / 0.6888 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.6584, allocations: 105 kB / 0.6889 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.6585, allocations: 70.34 kB / 0.6889 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.6585, allocations: 12.22 kB / 0.6889 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.6586, allocations: 330.4 kB / 0.6893 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.6591, allocations: 184.4 kB / 0.6894 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.6596, allocations: 215.4 kB / 0.6896 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.6601, allocations: 231.5 kB / 0.6899 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6601, allocations: 0 / 0.6899 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001776/0.6619, allocations: 0.7298 MB / 0.6906 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.6621, allocations: 89.7 kB / 0.6907 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6621, allocations: 0 / 0.6907 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6621, allocations: 6.375 kB / 0.6907 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.6623, allocations: 18.02 kB / 0.6907 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.6623, allocations: 2.375 kB / 0.6907 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.663, allocations: 85.14 kB / 0.6908 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.6631, allocations: 22.47 kB / 0.6908 GB, free: 12.37 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.0002787/0.6634, allocations: 158 kB / 0.6909 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.6635, allocations: 24.38 kB / 0.691 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.6636, allocations: 19.33 kB / 0.691 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.6636, allocations: 2.375 kB / 0.691 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6636, allocations: 2.219 kB / 0.691 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.6636, allocations: 2.703 kB / 0.691 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.6639, allocations: 269.1 kB / 0.6912 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6639, allocations: 6.234 kB / 0.6912 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.6641, allocations: 9.828 kB / 0.6913 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.6641, allocations: 7.172 kB / 0.6913 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.6641, allocations: 19.77 kB / 0.6913 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.6642, allocations: 6.094 kB / 0.6913 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6642, allocations: 1.156 kB / 0.6913 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.6656, allocations: 0.4948 MB / 0.6918 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.6657, allocations: 90.73 kB / 0.6919 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.6658, allocations: 15.95 kB / 0.6919 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.6661, allocations: 20.64 kB / 0.6919 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.6662, allocations: 24.89 kB / 0.6919 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.6662, allocations: 21.92 kB / 0.6919 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001143/0.6664, allocations: 117 kB / 0.692 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6664, allocations: 4.938 kB / 0.6921 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005831/0.667, allocations: 76.41 kB / 0.6921 GB, free: 11.48 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.001766/0.6687, allocations: 1.28 MB / 0.6934 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.6704, allocations: 0.6872 MB / 0.694 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6704, allocations: 0 / 0.694 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.6711, allocations: 169.8 kB / 0.6942 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.6713, allocations: 16.8 kB / 0.6942 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.6753, allocations: 2.021 MB / 0.6962 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.6755, allocations: 0.7173 MB / 0.6969 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.589e-05/0.6756, allocations: 12.88 kB / 0.6969 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.3e-05/0.6757, allocations: 38.48 kB / 0.6969 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/0.6757, allocations: 0 / 0.6969 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.7072, allocations: 4.666 MB / 0.7015 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/0.7076, allocations: 199.6 kB / 0.7017 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.14, allocations: 0 / 0.7017 GB, free: 5.93 MB / 0.5261 GB