Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadModel(Buildings): time 4.314/4.314, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.692e-05, allocations: 3.75 kB / 0.5383 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1732, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.3657, allocations: 126.5 MB / 0.7582 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.366, allocations: 91.86 kB / 0.7583 GB, free: 3.195 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.3793, allocations: 3 MB / 0.7612 GB, free: 196 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.078e-06/0.3793, allocations: 0 / 0.7612 GB, free: 196 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.3793, allocations: 0 / 0.7612 GB, free: 196 kB / 0.6355 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.0006275/0.38, allocations: 449.7 kB / 0.7617 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.38, allocations: 8.031 kB / 0.7617 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.3801, allocations: 15.86 kB / 0.7617 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.3803, allocations: 179 kB / 0.7619 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3803, allocations: 4 kB / 0.7619 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3803, allocations: 8 kB / 0.7619 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3806, allocations: 77.48 kB / 0.7619 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.615e-06/0.3806, allocations: 0 / 0.7619 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3806, allocations: 4 kB / 0.762 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-06/0.3806, allocations: 4 kB / 0.762 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3807, allocations: 28 kB / 0.762 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.3814, allocations: 328.7 kB / 0.7623 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3816, allocations: 58.61 kB / 0.7624 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3818, allocations: 40.84 kB / 0.7624 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3818, allocations: 8.141 kB / 0.7624 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.382, allocations: 83.38 kB / 0.7625 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.752e-06/0.382, allocations: 0 / 0.7625 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003928/0.3824, allocations: 137.5 kB / 0.7626 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3825, allocations: 59.41 kB / 0.7627 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3826, allocations: 113.5 kB / 0.7628 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3827, allocations: 37.56 kB / 0.7628 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.3827, allocations: 92.38 kB / 0.7629 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.3828, allocations: 27.66 kB / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-06/0.3828, allocations: 0 / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.383, allocations: 322.8 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.3831, allocations: 23.94 kB / 0.7633 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3832, allocations: 62 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.642e-05/0.3833, allocations: 31.98 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3833, allocations: 0 / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002731/0.3836, allocations: 121.4 kB / 0.7635 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3836, allocations: 8 kB / 0.7635 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.23e-06/0.3836, allocations: 0 / 0.7635 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3837, allocations: 8.156 kB / 0.7635 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3838, allocations: 15.98 kB / 0.7635 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3838, allocations: 3.953 kB / 0.7635 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3839, allocations: 11.98 kB / 0.7635 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.384, allocations: 8 kB / 0.7635 GB, free: 13.61 MB / 0.6511 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,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete 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.0001121/0.3841, allocations: 117.5 kB / 0.7636 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3841, allocations: 7.906 kB / 0.7636 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.3842, allocations: 12.62 kB / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-06/0.3842, allocations: 96 / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-06/0.3842, allocations: 0 / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3842, allocations: 11.92 kB / 0.7637 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.3849, allocations: 414.4 kB / 0.7641 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.3849, allocations: 0 / 0.7641 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.385, allocations: 8 kB / 0.7641 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.653e-06/0.385, allocations: 0 / 0.7641 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.385, allocations: 7.984 kB / 0.7641 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.746e-06/0.3851, allocations: 7.953 kB / 0.7641 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3851, allocations: 0 / 0.7641 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.3855, allocations: 239.4 kB / 0.7643 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.3855, allocations: 85.02 kB / 0.7644 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.3856, allocations: 4 kB / 0.7644 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3857, allocations: 4 kB / 0.7644 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3858, allocations: 15.88 kB / 0.7644 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.3858, allocations: 11.98 kB / 0.7644 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.391e-05/0.3859, allocations: 103.3 kB / 0.7645 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.81e-07/0.3859, allocations: 0 / 0.7645 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004602/0.3864, allocations: 51.98 kB / 0.7646 GB, free: 12.43 MB / 0.6511 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,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * 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.0004469/0.3869, allocations: 174.3 kB / 0.7647 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3871, allocations: 79.86 kB / 0.7648 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.502e-06/0.3872, allocations: 0 / 0.7648 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.3873, allocations: 36 kB / 0.7648 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.3875, allocations: 15.92 kB / 0.7649 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.388, allocations: 119.8 kB / 0.765 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3883, allocations: 0.7007 MB / 0.7657 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.114e-05/0.3884, allocations: 4 kB / 0.7657 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.3885, allocations: 19.42 kB / 0.7657 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.358e-06/0.3885, allocations: 0 / 0.7657 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.005836/0.3943, allocations: 1.752 MB / 0.7674 GB, free: 9.508 MB / 0.6511 GB