Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.467/2.467, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001607, allocations: 182.4 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.707/2.707, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 97.7 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000685/0.0006851, allocations: 16.34 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2553, allocations: 106.2 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00185/0.2572, allocations: 1.211 MB / 0.9001 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2587, allocations: 0.7423 MB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.2587, allocations: 0 / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.2588, allocations: 7.922 kB / 0.9008 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.2588, allocations: 15.97 kB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.2594, allocations: 103.6 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2595, allocations: 51.94 kB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.2596, allocations: 15.97 kB / 0.901 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.2597, allocations: 35.86 kB / 0.901 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.2598, allocations: 39.88 kB / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2598, allocations: 4 kB / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.26, allocations: 71.86 kB / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.2601, allocations: 11.98 kB / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.2601, allocations: 45.58 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.2603, allocations: 111.7 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2604, allocations: 0 / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2604, allocations: 4 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2604, allocations: 0 / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005876/0.261, allocations: 446.4 kB / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.261, allocations: 12.03 kB / 0.9017 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.2611, allocations: 15.86 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2612, allocations: 173 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.2613, allocations: 4 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.2613, allocations: 11.98 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.2616, allocations: 85.64 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2616, allocations: 0 / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.2617, allocations: 0 / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2617, allocations: 0 / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.2619, allocations: 59.89 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.2626, allocations: 328.7 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.2628, allocations: 66.55 kB / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2628, allocations: 4 kB / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.2631, allocations: 99.39 kB / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.2631, allocations: 0 / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006991/0.2638, allocations: 197.4 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2639, allocations: 63.34 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.264, allocations: 126.2 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.264, allocations: 25.7 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.2641, allocations: 92.38 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.2641, allocations: 27.64 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.2641, allocations: 3.938 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.2642, allocations: 322.8 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2644, allocations: 31.98 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.2645, allocations: 72.25 kB / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2647, allocations: 43.92 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2647, allocations: 0 / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003728/0.2651, allocations: 137.4 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2651, allocations: 12.16 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.2651, allocations: 0 / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2652, allocations: 4 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2653, allocations: 27.88 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2653, allocations: 0 / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.2655, allocations: 11.94 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.2655, allocations: 4 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2656, allocations: 134.6 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.2656, allocations: 7.906 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.2657, allocations: 8.375 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2657, allocations: 8.078 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2657, allocations: 3.953 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2657, allocations: 0 / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.2664, allocations: 438.5 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2665, allocations: 7.984 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.2665, allocations: 4 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2666, allocations: 0 / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.2666, allocations: 11.94 kB / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2666, allocations: 0 / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2666, allocations: 0 / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.2671, allocations: 259.3 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.2672, allocations: 85.14 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.2672, allocations: 4 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.2674, allocations: 11.89 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.2674, allocations: 15.92 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.2675, allocations: 3.984 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.2675, allocations: 101.1 kB / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2675, allocations: 0 / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004263/0.268, allocations: 40 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003993/0.2684, allocations: 160.4 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.2688, allocations: 95.89 kB / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2688, allocations: 0 / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.269, allocations: 55.91 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.2693, allocations: 14.05 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.2698, allocations: 215.9 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.27, allocations: 0.6926 MB / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.866e-05/0.27, allocations: 11.98 kB / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.2701, allocations: 11.44 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2701, allocations: 0 / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.006139/0.2763, allocations: 1.553 MB / 0.9075 GB, free: 56.73 MB / 0.6042 GB