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.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009024/0.009024, allocations: 112.8 kB / 15.06 MB, free: 5.965 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.001127/0.001127, allocations: 183.4 kB / 15.94 MB, free: 5.93 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.104/2.104, allocations: 194.5 MB / 211.3 MB, free: 11.02 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.339/2.339, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 16 kB / 0.5869 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5457/0.5462, allocations: 98.7 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.7333, allocations: 126.6 MB / 0.8069 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.7336, allocations: 87.89 kB / 0.807 GB, free: 15.64 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.01314/0.7468, allocations: 3.018 MB / 0.81 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.507e-06/0.7468, allocations: 4 kB / 0.81 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.465e-06/0.7468, allocations: 0 / 0.81 GB, free: 12.61 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.000671/0.7475, allocations: 462.3 kB / 0.8104 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7476, allocations: 15.97 kB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.7476, allocations: 11.86 kB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.7478, allocations: 163.1 kB / 0.8106 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.7478, allocations: 4 kB / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.7478, allocations: 11.98 kB / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.7481, allocations: 85.64 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.038e-06/0.7482, allocations: 0 / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.7482, allocations: 4 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-06/0.7482, allocations: 3.938 kB / 0.8107 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.7484, allocations: 51.95 kB / 0.8107 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.7491, allocations: 331 kB / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.7494, allocations: 70.58 kB / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.7494, allocations: 4 kB / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.7497, allocations: 95.36 kB / 0.8112 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.784e-06/0.7497, allocations: 0 / 0.8112 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0006653/0.7504, allocations: 205.3 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.7504, allocations: 59.41 kB / 0.8115 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7506, allocations: 113 kB / 0.8116 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.7506, allocations: 29.7 kB / 0.8116 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.7507, allocations: 96.31 kB / 0.8117 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.7507, allocations: 27.84 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-06/0.7508, allocations: 0 / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7509, allocations: 314.8 kB / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.7511, allocations: 39.97 kB / 0.8121 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.7512, allocations: 75.28 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.7514, allocations: 43.98 kB / 0.8122 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.7514, allocations: 0 / 0.8122 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003871/0.7518, allocations: 149.5 kB / 0.8123 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7518, allocations: 4 kB / 0.8123 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.7518, allocations: 4 kB / 0.8123 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7519, allocations: 3.938 kB / 0.8123 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.752, allocations: 19.98 kB / 0.8123 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.752, allocations: 3.953 kB / 0.8124 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.7522, allocations: 15.94 kB / 0.8124 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.7522, allocations: 4 kB / 0.8124 GB, free: 9.895 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.0001468/0.7523, allocations: 136.8 kB / 0.8125 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.7524, allocations: 3.906 kB / 0.8125 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.7524, allocations: 8.375 kB / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.7524, allocations: 0 / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.249e-06/0.7525, allocations: 0 / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.65e-06/0.7525, allocations: 3.953 kB / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.7533, allocations: 438.3 kB / 0.8129 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-06/0.7533, allocations: 4 kB / 0.8129 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.7534, allocations: 7.984 kB / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.641e-06/0.7534, allocations: 0 / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.7534, allocations: 480 / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.748e-06/0.7534, allocations: 3.953 kB / 0.813 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.924e-06/0.7534, allocations: 3.984 kB / 0.813 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.7539, allocations: 255.4 kB / 0.8132 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.754, allocations: 89 kB / 0.8133 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.7541, allocations: 0 / 0.8133 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.7542, allocations: 4 kB / 0.8133 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.7543, allocations: 11.94 kB / 0.8133 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.7543, allocations: 11.94 kB / 0.8133 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.7544, allocations: 95.27 kB / 0.8134 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.17e-07/0.7544, allocations: 0 / 0.8134 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004615/0.7549, allocations: 59.92 kB / 0.8135 GB, free: 8.676 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.0004457/0.7553, allocations: 184.6 kB / 0.8136 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.7557, allocations: 103.9 kB / 0.8137 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.333e-06/0.7557, allocations: 3.938 kB / 0.8137 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.7559, allocations: 47.97 kB / 0.8138 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.7562, allocations: 16.3 kB / 0.8138 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.7567, allocations: 219 kB / 0.814 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.7571, allocations: 0.6926 MB / 0.8147 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.613e-05/0.7572, allocations: 15.94 kB / 0.8147 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.7572, allocations: 11.44 kB / 0.8147 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of SimCode: time 1.753e-06/0.7572, allocations: 288 / 0.8147 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of Templates: time 0.005876/0.7631, allocations: 1.732 MB / 0.8164 GB, free: 5.633 MB / 0.6355 GB