Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.145/2.145, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001465/0.001464, allocations: 175.6 kB / 325.6 MB, free: 2.828 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.366/2.366, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.001073/0.001073, allocations: 92.19 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004472, allocations: 13.69 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.4403, allocations: 133.5 MB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.4407, allocations: 83.95 kB / 1.029 GB, free: 12.14 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.01526/0.456, allocations: 3.01 MB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.456, allocations: 0 / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.4561, allocations: 4 kB / 1.032 GB, free: 9.125 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007484/0.4568, allocations: 454.4 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4569, allocations: 8.031 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.4569, allocations: 11.86 kB / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.4571, allocations: 178.9 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.4571, allocations: 4 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.4572, allocations: 8 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.4575, allocations: 69.64 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4575, allocations: 0 / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.4575, allocations: 4 kB / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4576, allocations: 4 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.4578, allocations: 43.97 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.4585, allocations: 304.8 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.4588, allocations: 54.56 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.4588, allocations: 3.984 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/0.4592, allocations: 79.56 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.007e-05/0.4592, allocations: 4 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000711/0.4599, allocations: 161.4 kB / 1.034 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.46, allocations: 55.41 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.4601, allocations: 113 kB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.4602, allocations: 33.7 kB / 1.034 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.4603, allocations: 100.2 kB / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.4603, allocations: 15.81 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.4603, allocations: 0 / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4605, allocations: 322.8 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4606, allocations: 23.98 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.4608, allocations: 61.14 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.461, allocations: 35.92 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.461, allocations: 0 / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004095/0.4614, allocations: 125.4 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.4615, allocations: 8 kB / 1.035 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4615, allocations: 0 / 1.035 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4615, allocations: 0 / 1.035 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.4617, allocations: 15.98 kB / 1.035 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.4617, allocations: 16.05 kB / 1.035 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.4618, allocations: 8 kB / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.4619, allocations: 4 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,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 (11): * Single equations (assignments): 11 * 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.0001634/0.462, allocations: 121.8 kB / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.4621, allocations: 7.906 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.4621, allocations: 12.38 kB / 1.035 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4621, allocations: 0 / 1.035 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.4622, allocations: 0 / 1.035 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4622, allocations: 11.95 kB / 1.035 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008492/0.463, allocations: 394.4 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4631, allocations: 0 / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.4632, allocations: 7.984 kB / 1.035 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.4632, allocations: 0 / 1.035 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.4632, allocations: 7.938 kB / 1.035 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4632, allocations: 8.344 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4632, allocations: 0 / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.4638, allocations: 223.4 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.4638, allocations: 81.02 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4639, allocations: 7.984 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.464, allocations: 8 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.4641, allocations: 15.88 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.4641, allocations: 4 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.256e-05/0.4642, allocations: 96.77 kB / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4643, allocations: 0 / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004603/0.4647, allocations: 43.98 kB / 1.036 GB, free: 5.465 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005216/0.4653, allocations: 174.7 kB / 1.036 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.4657, allocations: 67.91 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4657, allocations: 1.625 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.4659, allocations: 44.28 kB / 1.036 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.4662, allocations: 9.375 kB / 1.036 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.4669, allocations: 217.2 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4672, allocations: 0.6926 MB / 1.037 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.112e-05/0.4673, allocations: 8.312 kB / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.4674, allocations: 11.44 kB / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of SimCode: time 1.011e-06/0.4674, allocations: 0 / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of Templates: time 0.006519/0.4739, allocations: 1.557 MB / 1.038 GB, free: 2.656 MB / 0.6823 GB