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.465/2.465, 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.003272/0.003272, allocations: 183.1 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.565/2.565, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001161/0.001161, allocations: 86.36 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006329/0.0006329, allocations: 13.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2081, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.4311, allocations: 133.6 MB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.4315, allocations: 83.95 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01454/0.4461, allocations: 3.072 MB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4461, allocations: 4 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.4461, allocations: 0 / 1.032 GB, free: 8.539 MB / 0.6823 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.0007247/0.4469, allocations: 462.2 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4469, allocations: 8.031 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.447, allocations: 15.8 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4472, allocations: 172.8 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.4472, allocations: 8 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.4472, allocations: 7.984 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.4476, allocations: 85.64 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4476, allocations: 0 / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.4476, allocations: 0 / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4476, allocations: 7.984 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.4479, allocations: 55.91 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.4487, allocations: 328.7 kB / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.449, allocations: 70.55 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.449, allocations: 7.969 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.4493, allocations: 99.27 kB / 1.034 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.4494, allocations: 0 / 1.034 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0008445/0.4502, allocations: 197.5 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.4503, allocations: 51.41 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4504, allocations: 120.9 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.4505, allocations: 33.7 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.4505, allocations: 84.38 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.4506, allocations: 27.84 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.4506, allocations: 4 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4508, allocations: 322.8 kB / 1.035 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4509, allocations: 28.34 kB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.4511, allocations: 77.94 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.4513, allocations: 43.97 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4513, allocations: 0 / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004675/0.4518, allocations: 149.4 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4518, allocations: 4 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4519, allocations: 0 / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4519, allocations: 4 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4521, allocations: 19.92 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.4521, allocations: 7.953 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.4522, allocations: 8.094 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.4522, allocations: 12 kB / 1.035 GB, free: 5.816 MB / 0.6823 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.0001433/0.4524, allocations: 125.8 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.4524, allocations: 7.906 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.4525, allocations: 16.38 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4525, allocations: 0 / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4525, allocations: 0 / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4525, allocations: 3.953 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008734/0.4534, allocations: 436.2 kB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4534, allocations: 0 / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.4535, allocations: 7.984 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.4535, allocations: 4 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4535, allocations: 0 / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4536, allocations: 7.938 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4536, allocations: 0 / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.4542, allocations: 255.3 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.4543, allocations: 85 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.4543, allocations: 8 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4545, allocations: 4 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.4545, allocations: 15.94 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4546, allocations: 0 / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.4547, allocations: 105.8 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4547, allocations: 4.125 kB / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004892/0.4552, allocations: 51.94 kB / 1.036 GB, free: 4.605 MB / 0.6823 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.0004928/0.4557, allocations: 172.8 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.4562, allocations: 95.89 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4562, allocations: 0 / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.4564, allocations: 56.22 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.4567, allocations: 13.7 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.4573, allocations: 223.2 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.4577, allocations: 0.7004 MB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.134e-05/0.4578, allocations: 7.984 kB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.4579, allocations: 11.44 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.4579, allocations: 0 / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of Templates: time 0.006517/0.4644, allocations: 1.726 MB / 1.039 GB, free: 1.57 MB / 0.6823 GB