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.01092/0.01093, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001186, allocations: 186.4 kB / 15.94 MB, free: 5.895 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.973/1.973, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.23/2.23, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004555, allocations: 8 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6497, allocations: 98.73 MB / 0.6834 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.873, allocations: 125.2 MB / 0.8057 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.8733, allocations: 71.97 kB / 0.8057 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.8901, allocations: 3.29 MB / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8902, allocations: 4 kB / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.8902, allocations: 0 / 0.8089 GB, free: 13.49 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.001341/0.8915, allocations: 0.5412 MB / 0.8095 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.8916, allocations: 12.03 kB / 0.8095 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.352e-05/0.8917, allocations: 42.55 kB / 0.8095 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.8919, allocations: 35.75 kB / 0.8096 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/0.8927, allocations: 276.6 kB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.8928, allocations: 16 kB / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.8929, allocations: 27.98 kB / 0.8099 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.8938, allocations: 263.2 kB / 0.8101 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.8938, allocations: 0 / 0.8101 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.8938, allocations: 7.984 kB / 0.8101 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.8939, allocations: 7.938 kB / 0.8101 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.8943, allocations: 103.8 kB / 0.8102 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.895, allocations: 376 kB / 0.8106 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.8956, allocations: 242.6 kB / 0.8108 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.8957, allocations: 8.062 kB / 0.8108 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007774/0.8965, allocations: 274.3 kB / 0.8111 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 3.005e-06/0.8965, allocations: 0 / 0.8111 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.001992/0.8985, allocations: 0.5291 MB / 0.8116 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.8986, allocations: 148.7 kB / 0.8118 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.8988, allocations: 143.1 kB / 0.8119 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/0.8989, allocations: 41.7 kB / 0.8119 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.899, allocations: 104.6 kB / 0.812 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.8991, allocations: 63.19 kB / 0.8121 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.8992, allocations: 12 kB / 0.8121 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8993, allocations: 326.8 kB / 0.8124 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.8998, allocations: 179.9 kB / 0.8126 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.9004, allocations: 219.1 kB / 0.8128 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.9009, allocations: 226.1 kB / 0.813 GB, free: 9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9009, allocations: 0 / 0.813 GB, free: 9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001763/0.9027, allocations: 0.7331 MB / 0.8137 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.9028, allocations: 87.38 kB / 0.8138 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9028, allocations: 4 kB / 0.8138 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.9028, allocations: 0 / 0.8138 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.903, allocations: 19.92 kB / 0.8138 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.9031, allocations: 0 / 0.8138 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006449/0.9037, allocations: 79.83 kB / 0.8139 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/0.9038, allocations: 23.98 kB / 0.8139 GB, free: 8.027 MB / 0.6355 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.0002811/0.9041, allocations: 156.4 kB / 0.8141 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.9042, allocations: 27.75 kB / 0.8141 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/0.9042, allocations: 16.72 kB / 0.8141 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.9043, allocations: 4 kB / 0.8141 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9043, allocations: 0 / 0.8141 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.9043, allocations: 3.984 kB / 0.8141 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.9046, allocations: 265.4 kB / 0.8144 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.9047, allocations: 4 kB / 0.8144 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.9048, allocations: 12 kB / 0.8144 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.9048, allocations: 0 / 0.8144 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.9048, allocations: 19.92 kB / 0.8144 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.9049, allocations: 7.938 kB / 0.8144 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9049, allocations: 3.938 kB / 0.8144 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.9063, allocations: 0.4957 MB / 0.8149 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.9064, allocations: 88.92 kB / 0.815 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.9065, allocations: 19.98 kB / 0.815 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.9067, allocations: 15.98 kB / 0.815 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.9068, allocations: 23.97 kB / 0.8151 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.9069, allocations: 23.97 kB / 0.8151 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001211/0.907, allocations: 122 kB / 0.8152 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.404e-06/0.9071, allocations: 0 / 0.8152 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005475/0.9076, allocations: 87.86 kB / 0.8153 GB, free: 6.523 MB / 0.6355 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.001935/0.9096, allocations: 1.285 MB / 0.8165 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.9112, allocations: 0.6899 MB / 0.8172 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9112, allocations: 0 / 0.8172 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.9118, allocations: 167.8 kB / 0.8174 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.912, allocations: 8 kB / 0.8174 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.916, allocations: 2.006 MB / 0.8193 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.9164, allocations: 0.7286 MB / 0.82 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.053e-05/0.9165, allocations: 13.42 kB / 0.8201 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.9166, allocations: 35.42 kB / 0.8201 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.9166, allocations: 0 / 0.8201 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.9472, allocations: 4.617 MB / 0.8246 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/0.9476, allocations: 183.9 kB / 0.8248 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.446, allocations: 7.938 kB / 0.8248 GB, free: 12.69 MB / 0.6511 GB