Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.522/4.522, allocations: 0.5623 GB / 0.5769 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002633/0.002632, allocations: 361.9 kB / 0.644 GB, free: 21.53 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.226/4.226, allocations: 410.7 MB / 1.112 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001904/0.001904, allocations: 193.1 kB / 1.225 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004853, allocations: 10.72 kB / 1.348 GB, free: 320.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1691, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004076/0.1732, allocations: 3.582 MB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.3268, allocations: 136.3 MB / 1.597 GB, free: 80.66 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.328, allocations: 19.88 kB / 1.597 GB, free: 80.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.3286, allocations: 75.39 kB / 1.597 GB, free: 80.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.3302, allocations: 386.8 kB / 1.598 GB, free: 80.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.3329, allocations: 0.5948 MB / 1.598 GB, free: 79.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.3354, allocations: 1.032 MB / 1.599 GB, free: 78.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.3368, allocations: 0.514 MB / 1.6 GB, free: 78.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007933/0.3376, allocations: 294.5 kB / 1.6 GB, free: 77.76 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.3383, allocations: 322.2 kB / 1.6 GB, free: 77.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.3384, allocations: 20 kB / 1.6 GB, free: 77.42 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3396, allocations: 267.6 kB / 1.601 GB, free: 77.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.3399, allocations: 171.2 kB / 1.601 GB, free: 76.99 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.3402, allocations: 189.1 kB / 1.601 GB, free: 76.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.3423, allocations: 1.068 MB / 1.602 GB, free: 75.73 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.633e-06/0.3424, allocations: 4 kB / 1.602 GB, free: 75.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3424, allocations: 0 / 1.602 GB, free: 75.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.3424, allocations: 0 / 1.602 GB, free: 75.73 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003013/0.3454, allocations: 1.15 MB / 1.603 GB, free: 74.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3455, allocations: 12.75 kB / 1.603 GB, free: 74.51 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.3474, allocations: 274.4 kB / 1.604 GB, free: 74.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.3488, allocations: 0.6953 MB / 1.604 GB, free: 73.51 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.3489, allocations: 69.94 kB / 1.604 GB, free: 73.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.349, allocations: 87.94 kB / 1.604 GB, free: 73.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.3511, allocations: 0.9652 MB / 1.605 GB, free: 72.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.3511, allocations: 3.984 kB / 1.605 GB, free: 72.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3512, allocations: 43.95 kB / 1.605 GB, free: 72.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.3513, allocations: 24 kB / 1.605 GB, free: 72.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.3538, allocations: 1.171 MB / 1.606 GB, free: 71.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/0.3588, allocations: 2.597 MB / 1.609 GB, free: 68.44 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.3616, allocations: 0.8636 MB / 1.61 GB, free: 67.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.3624, allocations: 318.7 kB / 1.61 GB, free: 67.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.479e-05/0.3625, allocations: 28.67 kB / 1.61 GB, free: 67.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.3636, allocations: 487.3 kB / 1.611 GB, free: 66.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=74): time 3.702e-06/0.3636, allocations: 0 / 1.611 GB, free: 66.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74): time 0.003797/0.3674, allocations: 1.19 MB / 1.612 GB, free: 65.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.3675, allocations: 200.5 kB / 1.612 GB, free: 65.28 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/0.3683, allocations: 0.5704 MB / 1.613 GB, free: 64.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/0.3684, allocations: 41.69 kB / 1.613 GB, free: 64.65 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.3687, allocations: 396.1 kB / 1.613 GB, free: 64.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.3689, allocations: 248.4 kB / 1.613 GB, free: 64.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.3689, allocations: 16 kB / 1.613 GB, free: 63.99 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3691, allocations: 378.8 kB / 1.614 GB, free: 63.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.3698, allocations: 277.8 kB / 1.614 GB, free: 63.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008438/0.3707, allocations: 371.1 kB / 1.614 GB, free: 62.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008241/0.3715, allocations: 318.9 kB / 1.615 GB, free: 62.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.394e-06/0.3716, allocations: 0 / 1.615 GB, free: 62.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00247/0.374, allocations: 0.8566 MB / 1.615 GB, free: 61.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3741, allocations: 4 kB / 1.615 GB, free: 61.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.481e-06/0.3741, allocations: 0 / 1.615 GB, free: 61.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/0.3747, allocations: 84.86 kB / 1.615 GB, free: 61.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.3756, allocations: 167.8 kB / 1.616 GB, free: 61.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.3777, allocations: 1.525 MB / 1.617 GB, free: 59.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/0.3786, allocations: 99.28 kB / 1.617 GB, free: 59.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/0.3787, allocations: 35.98 kB / 1.617 GB, free: 59.75 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.3792, allocations: 268.8 kB / 1.617 GB, free: 59.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.3794, allocations: 71.16 kB / 1.618 GB, free: 59.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/0.3824, allocations: 1.1 MB / 1.619 GB, free: 58.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3825, allocations: 11.95 kB / 1.619 GB, free: 58.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3825, allocations: 0 / 1.619 GB, free: 58.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3825, allocations: 7.969 kB / 1.619 GB, free: 58.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3837, allocations: 0.872 MB / 1.62 GB, free: 57.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.685e-06/0.3837, allocations: 0 / 1.62 GB, free: 57.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.3846, allocations: 159.8 kB / 1.62 GB, free: 57.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/0.3852, allocations: 80.77 kB / 1.62 GB, free: 57.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/0.3853, allocations: 35.88 kB / 1.62 GB, free: 57.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.3871, allocations: 1.545 MB / 1.621 GB, free: 55.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-06/0.3872, allocations: 0 / 1.621 GB, free: 55.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.3897, allocations: 0.9202 MB / 1.622 GB, free: 54.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.3901, allocations: 271.7 kB / 1.622 GB, free: 54.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.3903, allocations: 16 kB / 1.622 GB, free: 54.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.391, allocations: 85.86 kB / 1.623 GB, free: 54.08 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.3912, allocations: 64.91 kB / 1.623 GB, free: 54.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.3913, allocations: 27.98 kB / 1.623 GB, free: 53.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005813/0.3919, allocations: 419.1 kB / 1.623 GB, free: 53.58 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.47e-07/0.3919, allocations: 4 kB / 1.623 GB, free: 53.58 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009343/0.3929, allocations: 283.2 kB / 1.623 GB, free: 53.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.3946, allocations: 0.557 MB / 1.624 GB, free: 52.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.3968, allocations: 0.8314 MB / 1.625 GB, free: 52.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.213e-06/0.3968, allocations: 0 / 1.625 GB, free: 52.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.398, allocations: 0.5275 MB / 1.625 GB, free: 51.56 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.3993, allocations: 255.1 kB / 1.625 GB, free: 51.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.4037, allocations: 2.163 MB / 1.628 GB, free: 49.13 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.4043, allocations: 1.034 MB / 1.629 GB, free: 48.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001229/0.4056, allocations: 262.1 kB / 1.629 GB, free: 47.81 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.4059, allocations: 99.39 kB / 1.629 GB, free: 47.71 MB / 0.8073 GB Notification: Performance of SimCode: time 1.899e-06/0.4059, allocations: 0 / 1.629 GB, free: 47.71 MB / 0.8073 GB Notification: Performance of Templates: time 0.02852/0.4345, allocations: 12.87 MB / 1.641 GB, free: 35.07 MB / 0.8073 GB