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.01874/0.01874, allocations: 220.3 kB / 15.17 MB, free: 5.992 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.001859/0.001859, allocations: 180.1 kB / 16.06 MB, free: 5.871 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 4.477/4.477, allocations: 389.1 MB / 405.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.785/4.785, allocations: 472.3 MB / 0.9017 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000633/0.0006331, allocations: 12 kB / 1.008 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7332, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002109/0.7354, allocations: 1.145 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.7367, allocations: 370.5 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.7368, allocations: 0.9375 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.783e-05/0.7369, allocations: 10.28 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.7371, allocations: 16.2 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.738, allocations: 178.9 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.7385, allocations: 258 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.392e-05/0.7386, allocations: 4.516 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.7389, allocations: 126.2 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.7392, allocations: 129.9 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.7394, allocations: 16.94 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.7396, allocations: 39.2 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-05/0.7397, allocations: 38.58 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.7398, allocations: 66.3 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.7403, allocations: 186.3 kB / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7403, allocations: 0 / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7403, allocations: 0 / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.7404, allocations: 0 / 1.107 GB, free: 211.5 MB / 0.7292 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.001515/0.7419, allocations: 0.5175 MB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.742, allocations: 9.547 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.983e-05/0.7421, allocations: 43.95 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.7423, allocations: 34.91 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.7428, allocations: 247.7 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.7429, allocations: 23.92 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.7431, allocations: 32.78 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.7443, allocations: 254.3 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.7444, allocations: 0 / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.7445, allocations: 6.469 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.7445, allocations: 5.844 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.7453, allocations: 105 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008214/0.7461, allocations: 384.2 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/0.7471, allocations: 243.4 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/0.7478, allocations: 125.6 kB / 1.109 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.7479, allocations: 2.781 kB / 1.109 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.749, allocations: 275.9 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 4.899e-06/0.7491, allocations: 0.9375 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.002574/0.7516, allocations: 0.539 MB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.7518, allocations: 141.4 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.752, allocations: 157.4 kB / 1.11 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.966e-05/0.7521, allocations: 40.39 kB / 1.11 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.7522, allocations: 110.3 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.7524, allocations: 63.83 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.7524, allocations: 11.72 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.7526, allocations: 329.2 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006294/0.7532, allocations: 178 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.7539, allocations: 215 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.7545, allocations: 230.1 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7545, allocations: 1.125 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002314/0.7568, allocations: 0.7339 MB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.757, allocations: 93.48 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.757, allocations: 1.312 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.7571, allocations: 2.25 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.7573, allocations: 18.3 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7573, allocations: 5.375 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009389/0.7583, allocations: 81.45 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.951e-05/0.7584, allocations: 25.75 kB / 1.112 GB, free: 208.4 MB / 0.7292 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.0003155/0.7587, allocations: 157 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.7589, allocations: 22.94 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.7589, allocations: 20.22 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.759, allocations: 4.031 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.759, allocations: 3.531 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.759, allocations: 1 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.7594, allocations: 265.3 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.7594, allocations: 4.531 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.7596, allocations: 16.22 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.7596, allocations: 2.094 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/0.7597, allocations: 18.48 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.7597, allocations: 6.781 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7597, allocations: 1.031 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.7617, allocations: 471.6 kB / 1.113 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.7618, allocations: 90.08 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.7619, allocations: 21.44 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.7623, allocations: 26.41 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.7625, allocations: 23.08 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.7625, allocations: 20.91 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000138/0.7627, allocations: 118.2 kB / 1.113 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.363e-06/0.7627, allocations: 0 / 1.113 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008042/0.7635, allocations: 75.52 kB / 1.113 GB, free: 207.6 MB / 0.7292 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.002235/0.7658, allocations: 1.045 MB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.7677, allocations: 0.6946 MB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7678, allocations: 0 / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007535/0.7686, allocations: 169.9 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.769, allocations: 18.2 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.7741, allocations: 1.571 MB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.7745, allocations: 0.7178 MB / 1.117 GB, free: 205 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.053e-05/0.7746, allocations: 16.14 kB / 1.117 GB, free: 205 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.7747, allocations: 45.22 kB / 1.117 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.222e-06/0.7748, allocations: 1.531 kB / 1.117 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.8246, allocations: 4.674 MB / 1.122 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/0.8249, allocations: 199.5 kB / 1.122 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.431, allocations: 0 / 1.122 GB, free: 204.6 MB / 0.7292 GB