Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009331/0.009331, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001149/0.001149, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.056/2.056, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.395/2.395, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004984, allocations: 8 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5491, allocations: 98.72 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.7358, allocations: 126.6 MB / 0.8069 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.7361, allocations: 83.95 kB / 0.807 GB, free: 15.67 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01341/0.7495, allocations: 3.018 MB / 0.81 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.473e-06/0.7496, allocations: 0 / 0.81 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.762e-06/0.7496, allocations: 0 / 0.81 GB, free: 12.64 MB / 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.0006686/0.7503, allocations: 466.3 kB / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.7503, allocations: 8.031 kB / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.7504, allocations: 15.8 kB / 0.8104 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.7505, allocations: 171.1 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.7506, allocations: 8 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.7506, allocations: 12 kB / 0.8106 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.7509, allocations: 81.62 kB / 0.8107 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.051e-06/0.7509, allocations: 0 / 0.8107 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.751, allocations: 8 kB / 0.8107 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.512e-06/0.751, allocations: 0 / 0.8107 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.7512, allocations: 55.91 kB / 0.8107 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.7519, allocations: 323 kB / 0.8111 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.7521, allocations: 78.56 kB / 0.8111 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.7522, allocations: 4.156 kB / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.7524, allocations: 99.28 kB / 0.8112 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.842e-06/0.7524, allocations: 0 / 0.8112 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0006635/0.7531, allocations: 205.4 kB / 0.8114 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.7532, allocations: 55.41 kB / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.7533, allocations: 113 kB / 0.8116 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.7534, allocations: 33.7 kB / 0.8116 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.7535, allocations: 88.31 kB / 0.8117 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.7535, allocations: 23.7 kB / 0.8117 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.7535, allocations: 8 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.7537, allocations: 326.8 kB / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.7538, allocations: 27.98 kB / 0.8121 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.754, allocations: 77.94 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.7542, allocations: 35.98 kB / 0.8122 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.699e-06/0.7542, allocations: 0 / 0.8122 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003929/0.7546, allocations: 141.4 kB / 0.8123 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7546, allocations: 4 kB / 0.8123 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.748e-06/0.7546, allocations: 4 kB / 0.8123 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7547, allocations: 0 / 0.8123 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.7548, allocations: 23.92 kB / 0.8123 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.7548, allocations: 7.953 kB / 0.8124 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.7549, allocations: 12.09 kB / 0.8124 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.755, allocations: 8 kB / 0.8124 GB, free: 9.918 MB / 0.6355 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 () * 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.000142/0.7551, allocations: 125.8 kB / 0.8125 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.7552, allocations: 7.906 kB / 0.8125 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.7552, allocations: 12.38 kB / 0.8125 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.7552, allocations: 0 / 0.8125 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.354e-06/0.7552, allocations: 0 / 0.8125 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7553, allocations: 3.953 kB / 0.8125 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007936/0.7561, allocations: 438.7 kB / 0.8129 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-06/0.7561, allocations: 96 / 0.8129 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.7562, allocations: 11.92 kB / 0.8129 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.4e-06/0.7562, allocations: 4 kB / 0.8129 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.7562, allocations: 4 kB / 0.813 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.08e-06/0.7562, allocations: 7.938 kB / 0.813 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.2e-06/0.7562, allocations: 4 kB / 0.813 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.7567, allocations: 243.4 kB / 0.8132 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.7568, allocations: 89 kB / 0.8133 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.7569, allocations: 4 kB / 0.8133 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.757, allocations: 8 kB / 0.8133 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.7571, allocations: 11.94 kB / 0.8133 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.7571, allocations: 4 kB / 0.8133 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.1e-05/0.7572, allocations: 103.7 kB / 0.8134 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.4e-07/0.7572, allocations: 0 / 0.8134 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004917/0.7577, allocations: 55.92 kB / 0.8135 GB, free: 8.695 MB / 0.6355 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) * 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.0004582/0.7582, allocations: 181.1 kB / 0.8136 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.7586, allocations: 95.89 kB / 0.8137 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.275e-06/0.7586, allocations: 0 / 0.8137 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.7588, allocations: 60.22 kB / 0.8138 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.759, allocations: 10.05 kB / 0.8138 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.7596, allocations: 237.8 kB / 0.814 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.76, allocations: 0.6965 MB / 0.8147 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.377e-05/0.7601, allocations: 7.953 kB / 0.8147 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.7601, allocations: 15.42 kB / 0.8147 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of SimCode: time 1.527e-06/0.7601, allocations: 0 / 0.8147 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of Templates: time 0.005919/0.7661, allocations: 1.749 MB / 0.8164 GB, free: 5.621 MB / 0.6355 GB