Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.009504/0.009504, allocations: 88.05 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00117/0.00117, allocations: 174.1 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 1.991/1.991, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.284/2.284, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004672, allocations: 12.16 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002024/0.232, allocations: 1.143 MB / 0.7292 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2331, allocations: 383.8 kB / 0.7295 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.2331, allocations: 0 / 0.7295 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.34e-05/0.2332, allocations: 7.938 kB / 0.7296 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.2334, allocations: 15.97 kB / 0.7296 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.2341, allocations: 183.6 kB / 0.7297 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.2344, allocations: 155.8 kB / 0.7299 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.791e-05/0.2345, allocations: 16.19 kB / 0.7299 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.2348, allocations: 139.7 kB / 0.73 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.2351, allocations: 119.7 kB / 0.7302 GB, free: 8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.2351, allocations: 16 kB / 0.7302 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2353, allocations: 27.98 kB / 0.7302 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.2354, allocations: 43.88 kB / 0.7302 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2355, allocations: 69.64 kB / 0.7303 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.2358, allocations: 191.5 kB / 0.7305 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2358, allocations: 0 / 0.7305 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2358, allocations: 0 / 0.7305 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2358, allocations: 0 / 0.7305 GB, free: 7.652 MB / 0.5573 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.001181/0.237, allocations: 0.5142 MB / 0.731 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.2371, allocations: 12.03 kB / 0.731 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.75e-05/0.2372, allocations: 42.55 kB / 0.731 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2373, allocations: 31.77 kB / 0.7311 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.2377, allocations: 246.8 kB / 0.7313 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.2378, allocations: 19.98 kB / 0.7313 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2379, allocations: 28 kB / 0.7314 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.2387, allocations: 252.8 kB / 0.7316 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2387, allocations: 0 / 0.7316 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.2388, allocations: 7.984 kB / 0.7316 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.2388, allocations: 7.938 kB / 0.7316 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.2393, allocations: 103.9 kB / 0.7317 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.2399, allocations: 367.9 kB / 0.7321 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.2405, allocations: 246.5 kB / 0.7323 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2406, allocations: 8.109 kB / 0.7323 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008131/0.2414, allocations: 278.5 kB / 0.7326 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=24): time 2.404e-06/0.2414, allocations: 0 / 0.7326 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24): time 0.001925/0.2434, allocations: 0.5284 MB / 0.7331 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.2435, allocations: 140.5 kB / 0.7332 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2437, allocations: 153 kB / 0.7334 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.533e-05/0.2437, allocations: 49.69 kB / 0.7334 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.2439, allocations: 100.6 kB / 0.7335 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.244, allocations: 59.25 kB / 0.7336 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.244, allocations: 15.94 kB / 0.7336 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2442, allocations: 334.8 kB / 0.7339 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.2447, allocations: 175.9 kB / 0.7341 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.2452, allocations: 215.3 kB / 0.7343 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.2457, allocations: 219.3 kB / 0.7345 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.2457, allocations: 4 kB / 0.7345 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001747/0.2475, allocations: 0.7377 MB / 0.7352 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.2476, allocations: 87.38 kB / 0.7353 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2476, allocations: 0 / 0.7353 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.2476, allocations: 8.062 kB / 0.7353 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.2478, allocations: 19.92 kB / 0.7353 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.2478, allocations: 7.938 kB / 0.7353 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.2486, allocations: 87.69 kB / 0.7354 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.2486, allocations: 24 kB / 0.7354 GB, free: 2.227 MB / 0.5573 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.0002491/0.2489, allocations: 160.4 kB / 0.7356 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.249, allocations: 19.77 kB / 0.7356 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.249, allocations: 24.7 kB / 0.7356 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2491, allocations: 4 kB / 0.7356 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.2491, allocations: 4 kB / 0.7356 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2491, allocations: 0 / 0.7356 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.2494, allocations: 261.4 kB / 0.7359 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2494, allocations: 0 / 0.7359 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2496, allocations: 19.92 kB / 0.7359 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.2496, allocations: 4 kB / 0.7359 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.2496, allocations: 19.92 kB / 0.7359 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2497, allocations: 0 / 0.7359 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.2497, allocations: 7.984 kB / 0.7359 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.2511, allocations: 499.4 kB / 0.7364 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.2512, allocations: 96.84 kB / 0.7365 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.2513, allocations: 16 kB / 0.7365 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2515, allocations: 23.91 kB / 0.7365 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.2516, allocations: 23.91 kB / 0.7366 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.2517, allocations: 23.98 kB / 0.7366 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001145/0.2518, allocations: 115.2 kB / 0.7367 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2518, allocations: 0 / 0.7367 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004819/0.2523, allocations: 79.98 kB / 0.7368 GB, free: 0.7266 MB / 0.5573 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.001888/0.2542, allocations: 1.275 MB / 0.738 GB, free: 15.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.2558, allocations: 0.691 MB / 0.7387 GB, free: 14.69 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.2558, allocations: 0 / 0.7387 GB, free: 14.69 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.2564, allocations: 176.6 kB / 0.7389 GB, free: 14.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2566, allocations: 8 kB / 0.7389 GB, free: 14.51 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.2606, allocations: 2.032 MB / 0.7408 GB, free: 12.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.2609, allocations: 0.7208 MB / 0.7416 GB, free: 11.66 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.542e-05/0.261, allocations: 13.42 kB / 0.7416 GB, free: 11.64 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2611, allocations: 43.42 kB / 0.7416 GB, free: 11.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/0.2611, allocations: 0 / 0.7416 GB, free: 11.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.2948, allocations: 4.652 MB / 0.7461 GB, free: 7.09 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.2951, allocations: 194.5 kB / 0.7463 GB, free: 6.844 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.594, allocations: 0 / 0.7463 GB, free: 6.844 MB / 0.573 GB