Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.072/4.072, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.156e-05, allocations: 4 kB / 0.5325 GB, free: 1.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5265, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.7189, allocations: 124.4 MB / 0.7504 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.7192, allocations: 79.89 kB / 0.7505 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.7338, allocations: 3.263 MB / 0.7537 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.219e-06/0.7338, allocations: 0 / 0.7537 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.117e-06/0.7339, allocations: 0 / 0.7537 GB, free: 15.81 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.001016/0.7349, allocations: 0.5249 MB / 0.7542 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7349, allocations: 12.02 kB / 0.7542 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.7351, allocations: 31.84 kB / 0.7542 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.7358, allocations: 270.7 kB / 0.7545 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.7358, allocations: 8 kB / 0.7545 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.321e-05/0.7359, allocations: 31.92 kB / 0.7545 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002428/0.7362, allocations: 75.97 kB / 0.7546 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.7367, allocations: 236.9 kB / 0.7548 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.7367, allocations: 0 / 0.7548 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.7367, allocations: 3.984 kB / 0.7548 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.7368, allocations: 4 kB / 0.7548 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.7373, allocations: 356.4 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.7377, allocations: 212.9 kB / 0.7554 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.738, allocations: 111.5 kB / 0.7555 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.738, allocations: 8 kB / 0.7555 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005238/0.7386, allocations: 264 kB / 0.7557 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 3.404e-06/0.7386, allocations: 4 kB / 0.7557 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0009488/0.7395, allocations: 389.2 kB / 0.7561 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.7397, allocations: 144.5 kB / 0.7562 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.7398, allocations: 127.7 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.887e-05/0.7399, allocations: 45.69 kB / 0.7564 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.74, allocations: 104.5 kB / 0.7565 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/0.7401, allocations: 59.25 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.7402, allocations: 8 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.7404, allocations: 334.9 kB / 0.7569 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.7408, allocations: 151.9 kB / 0.757 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.7412, allocations: 195.1 kB / 0.7572 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.7417, allocations: 149.9 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.013e-06/0.7417, allocations: 4 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00158/0.7433, allocations: 0.6182 MB / 0.758 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.7434, allocations: 81.38 kB / 0.7581 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.78e-06/0.7435, allocations: 3.984 kB / 0.7581 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7435, allocations: 4 kB / 0.7581 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.7436, allocations: 15.94 kB / 0.7581 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.7437, allocations: 4 kB / 0.7581 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.7442, allocations: 83.75 kB / 0.7582 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/0.7442, allocations: 20 kB / 0.7582 GB, free: 10.87 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 () * 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.0002107/0.7445, allocations: 136 kB / 0.7583 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.7445, allocations: 19.8 kB / 0.7583 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.7446, allocations: 20.58 kB / 0.7583 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-06/0.7446, allocations: 4 kB / 0.7583 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.943e-06/0.7446, allocations: 0 / 0.7583 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.004e-06/0.7447, allocations: 4 kB / 0.7584 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.745, allocations: 233.9 kB / 0.7586 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.745, allocations: 4 kB / 0.7586 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.7451, allocations: 11.98 kB / 0.7586 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.504e-06/0.7451, allocations: 7.984 kB / 0.7586 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.7452, allocations: 7.984 kB / 0.7586 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.219e-06/0.7452, allocations: 3.984 kB / 0.7586 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.966e-06/0.7452, allocations: 7.891 kB / 0.7586 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008547/0.746, allocations: 460.3 kB / 0.7591 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.7461, allocations: 92.95 kB / 0.7591 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.7462, allocations: 19.98 kB / 0.7592 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.7465, allocations: 19.97 kB / 0.7592 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.7465, allocations: 15.97 kB / 0.7592 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.7466, allocations: 19.98 kB / 0.7592 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001125/0.7467, allocations: 117 kB / 0.7593 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.26e-06/0.7467, allocations: 0 / 0.7593 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004899/0.7472, allocations: 79.86 kB / 0.7594 GB, free: 9.5 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) * 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.00025/0.7475, allocations: 146.5 kB / 0.7595 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.7486, allocations: 0.6508 MB / 0.7602 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.7486, allocations: 0 / 0.7602 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.7489, allocations: 136.3 kB / 0.7603 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.7491, allocations: 19.94 kB / 0.7603 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.7499, allocations: 280.9 kB / 0.7606 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.7503, allocations: 0.7204 MB / 0.7613 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.939e-05/0.7504, allocations: 13.2 kB / 0.7613 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.7505, allocations: 19.44 kB / 0.7613 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of SimCode: time 1.562e-06/0.7505, allocations: 0 / 0.7613 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of Templates: time 0.008793/0.7593, allocations: 3.062 MB / 0.7643 GB, free: 4.395 MB / 0.6355 GB