Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.362/5.362, allocations: 0.5623 GB / 0.5776 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002562/0.002561, allocations: 353.6 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.48/4.48, allocations: 410.7 MB / 1.113 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001964/0.001963, allocations: 186.6 kB / 1.226 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005159, allocations: 19.98 kB / 1.349 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.7984, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001747/0.8002, allocations: 1.133 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.8013, allocations: 458 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.8014, allocations: 3.938 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.905e-05/0.8014, allocations: 3.938 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.8015, allocations: 11.92 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.8024, allocations: 183.5 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.8026, allocations: 123.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.8026, allocations: 5.594 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.8027, allocations: 51.89 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.8028, allocations: 44.77 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.8029, allocations: 8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.8032, allocations: 146.6 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.8033, allocations: 35.89 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.8034, allocations: 41.7 kB / 1.464 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.8037, allocations: 153.9 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8037, allocations: 7.922 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8037, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8037, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005617/0.8043, allocations: 428.2 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8043, allocations: 12.66 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.8044, allocations: 11.91 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.8046, allocations: 201 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.8047, allocations: 8 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.8047, allocations: 15.98 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.8049, allocations: 75.89 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8049, allocations: 8.688 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.8049, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.805, allocations: 0.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.8051, allocations: 38.11 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.8053, allocations: 238.4 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.8055, allocations: 83.2 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.8056, allocations: 54.41 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.8056, allocations: 5.062 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.8059, allocations: 106.8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 3.486e-06/0.8059, allocations: 1.781 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0004408/0.8063, allocations: 182.2 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.8064, allocations: 93.03 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.8065, allocations: 154 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.8066, allocations: 35.7 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.8067, allocations: 104.5 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.8067, allocations: 39.45 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.8068, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.8068, allocations: 327.4 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.8069, allocations: 43.17 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.8072, allocations: 196.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.8074, allocations: 67.78 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8074, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003199/0.8077, allocations: 158.9 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8078, allocations: 4.875 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/0.8078, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.8078, allocations: 4.609 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.808, allocations: 8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.808, allocations: 1.344 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.8085, allocations: 96.28 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.8085, allocations: 7.953 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001371/0.8087, allocations: 131.1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.8087, allocations: 15.81 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.8088, allocations: 11.09 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.8088, allocations: 7.984 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8088, allocations: 1.031 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.8088, allocations: 88.95 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.8089, allocations: 7.953 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.809, allocations: 4 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.809, allocations: 8.547 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003406/0.8094, allocations: 307.3 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003124/0.8097, allocations: 411.2 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.872e-05/0.8098, allocations: 41.64 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.36e-05/0.8099, allocations: 112.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of Backend: time 8.12e-07/0.8099, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009165/0.8108, allocations: 262.4 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006095/0.8115, allocations: 0.6614 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.007208/0.8187, allocations: 2.389 MB / 1.471 GB, free: 274.6 MB / 0.8542 GB