Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.338/2.338, allocations: 252.6 MB / 265.2 MB, free: 5.676 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.001432/0.001432, allocations: 180.7 kB / 324.5 MB, free: 14.36 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.147/2.147, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001062/0.001061, allocations: 86.72 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.329e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8554/1.047, allocations: 133.5 MB / 1.025 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/1.047, allocations: 86.12 kB / 1.025 GB, free: 0.9883 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.01502/1.062, allocations: 3.049 MB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.432e-06/1.062, allocations: 0 / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.204e-06/1.062, allocations: 0 / 1.028 GB, free: 14.36 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.0007148/1.063, allocations: 456.4 kB / 1.029 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.063, allocations: 8.031 kB / 1.029 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/1.063, allocations: 11.86 kB / 1.029 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/1.063, allocations: 175 kB / 1.029 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/1.063, allocations: 7.938 kB / 1.029 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/1.063, allocations: 4 kB / 1.029 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/1.063, allocations: 79.97 kB / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.063, allocations: 0 / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/1.063, allocations: 7.922 kB / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.063, allocations: 4.875 kB / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/1.064, allocations: 34.31 kB / 1.029 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/1.064, allocations: 326.7 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/1.065, allocations: 56.36 kB / 1.029 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/1.065, allocations: 42.66 kB / 1.029 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/1.065, allocations: 0 / 1.029 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/1.065, allocations: 88.62 kB / 1.03 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/1.065, allocations: 0 / 1.03 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0004476/1.065, allocations: 137 kB / 1.03 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/1.066, allocations: 55.41 kB / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.066, allocations: 118.4 kB / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/1.066, allocations: 29.7 kB / 1.03 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/1.066, allocations: 95.14 kB / 1.03 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/1.066, allocations: 27.08 kB / 1.03 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/1.066, allocations: 2.938 kB / 1.03 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.066, allocations: 318.2 kB / 1.03 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/1.066, allocations: 23.25 kB / 1.03 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.066, allocations: 72.81 kB / 1.03 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.862e-05/1.066, allocations: 27.11 kB / 1.03 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.066, allocations: 0 / 1.03 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002916/1.067, allocations: 121.7 kB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.067, allocations: 5.406 kB / 1.031 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.067, allocations: 4 kB / 1.031 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.067, allocations: 0 / 1.031 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/1.067, allocations: 27.92 kB / 1.031 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.067, allocations: 7.891 kB / 1.031 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.067, allocations: 10.94 kB / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/1.067, allocations: 4 kB / 1.031 GB, free: 11.98 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.0001272/1.067, allocations: 127.5 kB / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/1.067, allocations: 8 kB / 1.031 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/1.067, allocations: 11.94 kB / 1.031 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.067, allocations: 4 kB / 1.031 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.067, allocations: 0 / 1.031 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.067, allocations: 3.953 kB / 1.031 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/1.068, allocations: 409.6 kB / 1.031 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.068, allocations: 0 / 1.031 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/1.068, allocations: 11.98 kB / 1.031 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.068, allocations: 0 / 1.031 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.068, allocations: 4 kB / 1.031 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/1.068, allocations: 3.953 kB / 1.031 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.068, allocations: 0 / 1.031 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/1.069, allocations: 233.8 kB / 1.031 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/1.069, allocations: 81.02 kB / 1.031 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/1.069, allocations: 14.98 kB / 1.031 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/1.069, allocations: 4 kB / 1.031 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/1.069, allocations: 11.94 kB / 1.032 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/1.069, allocations: 3.125 kB / 1.032 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.551e-05/1.069, allocations: 101.2 kB / 1.032 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.069, allocations: 0 / 1.032 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004832/1.07, allocations: 57.92 kB / 1.032 GB, free: 10.92 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.0005491/1.07, allocations: 183 kB / 1.032 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002733/1.071, allocations: 69.88 kB / 1.032 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.071, allocations: 0 / 1.032 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/1.071, allocations: 45.72 kB / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/1.071, allocations: 23.55 kB / 1.032 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/1.072, allocations: 120.5 kB / 1.032 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/1.072, allocations: 0.6945 MB / 1.033 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.131e-05/1.072, allocations: 7.984 kB / 1.033 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/1.072, allocations: 11.44 kB / 1.033 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/1.072, allocations: 0 / 1.033 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of Templates: time 0.006774/1.079, allocations: 1.763 MB / 1.034 GB, free: 8.047 MB / 0.6511 GB