Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.374/2.374, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.002076/0.002058, allocations: 179.8 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.731/2.731, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001191/0.001191, allocations: 98.92 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006163/0.0006165, allocations: 15.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2389, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002509/0.2415, allocations: 1.199 MB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2433, allocations: 0.7423 MB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.2435, allocations: 4 kB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.2435, allocations: 3.938 kB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.2436, allocations: 7.984 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.2442, allocations: 107.6 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2443, allocations: 51.94 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.2444, allocations: 11.94 kB / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.2446, allocations: 39.89 kB / 0.901 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.2446, allocations: 39.84 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.2447, allocations: 4 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2449, allocations: 67.92 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.2449, allocations: 15.86 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.245, allocations: 37.7 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2452, allocations: 115.8 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2452, allocations: 0 / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2452, allocations: 4 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2452, allocations: 0 / 0.9013 GB, free: 62.99 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.0006196/0.2459, allocations: 446.7 kB / 0.9017 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.2459, allocations: 8.031 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.246, allocations: 11.86 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2461, allocations: 178.9 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.2461, allocations: 8 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.2462, allocations: 8 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.2465, allocations: 85.58 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2465, allocations: 3.984 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.2465, allocations: 4 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2466, allocations: 4 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.2468, allocations: 55.91 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.2475, allocations: 320.7 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.2478, allocations: 70.55 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.2478, allocations: 4 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.2481, allocations: 95.39 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 3.477e-06/0.2481, allocations: 0 / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0007118/0.2488, allocations: 209.3 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2489, allocations: 55.41 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.249, allocations: 121.8 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.249, allocations: 29.7 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.2491, allocations: 88.38 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.2491, allocations: 31.78 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.2492, allocations: 4 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.2492, allocations: 326.8 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2494, allocations: 27.98 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.2495, allocations: 77.92 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.2497, allocations: 32 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2497, allocations: 4 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003749/0.2501, allocations: 141.5 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2501, allocations: 8 kB / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2501, allocations: 384 / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2502, allocations: 4 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.2503, allocations: 23.88 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2504, allocations: 4 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2505, allocations: 15.88 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.2505, allocations: 12.11 kB / 0.9037 GB, free: 60.27 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.0001091/0.2506, allocations: 121.8 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.2507, allocations: 11.98 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.2507, allocations: 8.375 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2507, allocations: 4 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2507, allocations: 3.953 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2507, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.2515, allocations: 442.3 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2515, allocations: 0 / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.2516, allocations: 4 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2516, allocations: 0 / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2516, allocations: 11.94 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2516, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2516, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.2522, allocations: 255.3 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.2522, allocations: 88.94 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.2523, allocations: 4 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2524, allocations: 11.89 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.2525, allocations: 11.98 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.2525, allocations: 4 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.2526, allocations: 98.02 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2526, allocations: 0 / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004302/0.253, allocations: 43.98 kB / 0.9048 GB, free: 59.07 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.000403/0.2534, allocations: 175.5 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.2539, allocations: 91.89 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2539, allocations: 0 / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.2541, allocations: 55.91 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.2544, allocations: 13.84 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.2549, allocations: 225.3 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2551, allocations: 0.7004 MB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.699e-05/0.2552, allocations: 4 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.2552, allocations: 7.438 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2552, allocations: 4 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.007819/0.263, allocations: 1.562 MB / 0.9075 GB, free: 56.21 MB / 0.6042 GB