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 4.775/4.775, allocations: 0.5623 GB / 0.5769 GB, free: 3.379 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.002394/0.002394, allocations: 356.2 kB / 0.644 GB, free: 185.6 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.137/4.137, allocations: 410.7 MB / 1.112 GB, free: 5.945 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.001774/0.001774, allocations: 175 kB / 1.225 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004928, allocations: 12.22 kB / 1.348 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5871/0.5876, 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.001373/0.589, allocations: 1.129 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.5898, allocations: 453.6 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.5899, allocations: 2.75 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.634e-05/0.5899, allocations: 7.922 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.059e-05/0.59, allocations: 11.88 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.5907, allocations: 182.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.5909, allocations: 127.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.5909, allocations: 4.812 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.591, allocations: 47.91 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.5911, allocations: 44.61 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.5911, allocations: 13.02 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.5914, allocations: 143.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.5915, allocations: 33.06 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.5915, allocations: 41.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.5918, allocations: 157.8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.271e-06/0.5918, allocations: 0.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.177e-06/0.5918, allocations: 0.6875 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5918, allocations: 0 / 1.463 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.0004689/0.5923, allocations: 432.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5923, allocations: 11.62 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.5924, allocations: 12.66 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.5926, allocations: 206.8 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.5926, allocations: 12.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.5927, allocations: 10.75 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5928, allocations: 79.39 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5929, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5929, allocations: 6.609 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5929, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.593, allocations: 39.97 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.5932, allocations: 232.3 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5933, allocations: 85.92 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.5934, allocations: 54.34 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.669e-06/0.5935, allocations: 1.062 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.5937, allocations: 106.4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.362e-06/0.5937, allocations: 1.062 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0003814/0.5941, allocations: 189.4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.5941, allocations: 90.09 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.5943, allocations: 153.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.5943, allocations: 34.36 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.5944, allocations: 101.1 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.5944, allocations: 43.44 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-06/0.5945, allocations: 2.156 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.5945, allocations: 326.8 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.5946, allocations: 40.17 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.5948, allocations: 195.3 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.595, allocations: 68.39 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-06/0.595, allocations: 3.938 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002695/0.5952, allocations: 162.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5953, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.5953, allocations: 4.625 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5953, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.5954, allocations: 8.969 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.37e-06/0.5955, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.5958, allocations: 93.77 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.5958, allocations: 7.938 kB / 1.466 GB, free: 278.9 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.0001142/0.596, allocations: 139.1 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.596, allocations: 11.81 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.5961, allocations: 18.36 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5961, allocations: 4 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-06/0.5961, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.53e-06/0.5961, allocations: 0.6562 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.5962, allocations: 201.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5962, allocations: 1 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.5963, allocations: 4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5963, allocations: 4.531 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.5963, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.5963, allocations: 0.625 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.897e-06/0.5964, allocations: 3.938 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.5966, allocations: 191.3 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.5967, allocations: 91.53 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.5967, allocations: 3.984 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.5968, allocations: 8 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.5968, allocations: 8.641 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-06/0.5968, allocations: 1 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.5969, allocations: 111.2 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.23e-07/0.5969, allocations: 1.25 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003811/0.5973, allocations: 79.89 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002445/0.5976, allocations: 167.6 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.5979, allocations: 156.7 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.32e-06/0.5979, allocations: 4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.598, allocations: 45.61 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.5982, allocations: 7.75 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.5986, allocations: 245.4 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.5988, allocations: 0.7102 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.5989, allocations: 10.69 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.5989, allocations: 11.44 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/0.5989, allocations: 3.938 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.006061/0.605, allocations: 2.318 MB / 1.47 GB, free: 274.4 MB / 0.8542 GB