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.417/2.417, allocations: 252.6 MB / 265.2 MB, free: 5.816 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 181.7 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001532/0.001532, allocations: 98.09 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/4.029e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.882/1.077, allocations: 133.5 MB / 1.025 GB, free: 1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000367/1.078, allocations: 80.14 kB / 1.025 GB, free: 0.957 MB / 0.6355 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.01881/1.097, allocations: 3.061 MB / 1.028 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/1.097, allocations: 0 / 1.028 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.097, allocations: 0 / 1.028 GB, free: 14.33 MB / 0.6511 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.0008321/1.098, allocations: 456.2 kB / 1.029 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/1.098, allocations: 8.031 kB / 1.029 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/1.098, allocations: 15.84 kB / 1.029 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/1.098, allocations: 171 kB / 1.029 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/1.098, allocations: 4 kB / 1.029 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/1.098, allocations: 11.25 kB / 1.029 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/1.098, allocations: 83.14 kB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.098, allocations: 0 / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/1.099, allocations: 3.984 kB / 1.029 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.099, allocations: 8.875 kB / 1.029 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/1.099, allocations: 29.62 kB / 1.029 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/1.1, allocations: 326 kB / 1.029 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/1.1, allocations: 59.42 kB / 1.029 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/1.1, allocations: 42.78 kB / 1.029 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/1.1, allocations: 0 / 1.029 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/1.101, allocations: 83.75 kB / 1.03 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.725e-06/1.101, allocations: 0 / 1.03 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.000597/1.101, allocations: 140.1 kB / 1.03 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/1.101, allocations: 59.39 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/1.101, allocations: 112.1 kB / 1.03 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/1.101, allocations: 33.69 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/1.102, allocations: 91.09 kB / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/1.102, allocations: 28.83 kB / 1.03 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/1.102, allocations: 0 / 1.03 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.102, allocations: 320.9 kB / 1.03 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/1.102, allocations: 21.75 kB / 1.03 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/1.102, allocations: 72.19 kB / 1.03 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/1.102, allocations: 26.36 kB / 1.03 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.102, allocations: 0 / 1.03 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004087/1.103, allocations: 120.9 kB / 1.031 GB, free: 12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.103, allocations: 4.094 kB / 1.031 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.103, allocations: 7.938 kB / 1.031 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.103, allocations: 3.938 kB / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/1.103, allocations: 23.73 kB / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/1.103, allocations: 7.891 kB / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/1.103, allocations: 11.98 kB / 1.031 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/1.103, allocations: 7.188 kB / 1.031 GB, free: 11.94 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.0001418/1.103, allocations: 124.6 kB / 1.031 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/1.104, allocations: 7.906 kB / 1.031 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/1.104, allocations: 11.81 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/1.104, allocations: 0 / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.104, allocations: 0 / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.104, allocations: 7.938 kB / 1.031 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/1.105, allocations: 409 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.105, allocations: 0 / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/1.105, allocations: 8 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.105, allocations: 0 / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/1.105, allocations: 7.984 kB / 1.031 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.105, allocations: 3.953 kB / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.105, allocations: 0 / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/1.105, allocations: 240.8 kB / 1.031 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/1.106, allocations: 81.02 kB / 1.031 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/1.106, allocations: 4 kB / 1.031 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/1.106, allocations: 8 kB / 1.031 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/1.106, allocations: 15.06 kB / 1.032 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/1.106, allocations: 11.92 kB / 1.032 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.897e-05/1.106, allocations: 89.16 kB / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.106, allocations: 0 / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007197/1.107, allocations: 66.41 kB / 1.032 GB, free: 10.87 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.0006059/1.107, allocations: 172.2 kB / 1.032 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003348/1.108, allocations: 73.48 kB / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.108, allocations: 0 / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/1.108, allocations: 42.36 kB / 1.032 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/1.108, allocations: 18.45 kB / 1.032 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/1.109, allocations: 125.1 kB / 1.032 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/1.109, allocations: 0.6984 MB / 1.033 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.518e-05/1.109, allocations: 4 kB / 1.033 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/1.11, allocations: 15.42 kB / 1.033 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.11, allocations: 0 / 1.033 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of Templates: time 0.008586/1.118, allocations: 1.756 MB / 1.034 GB, free: 8.016 MB / 0.6511 GB