Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 252.6 MB / 265.2 MB, free: 5.711 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.001406/0.001406, allocations: 187.8 kB / 324.5 MB, free: 14.39 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.105/2.105, 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.001114/0.001113, allocations: 98.31 kB / 0.6797 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.484e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1965, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/1.048, allocations: 133.4 MB / 1.025 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.049, allocations: 90 kB / 1.025 GB, free: 1.113 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.01288/1.062, allocations: 2.879 MB / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.192e-06/1.062, allocations: 0 / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.642e-06/1.062, allocations: 0 / 1.028 GB, free: 14.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005782/1.062, allocations: 444.3 kB / 1.028 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.062, allocations: 8.031 kB / 1.028 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/1.062, allocations: 11.86 kB / 1.028 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.063, allocations: 174.9 kB / 1.029 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/1.063, allocations: 4 kB / 1.029 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/1.063, allocations: 6.812 kB / 1.029 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/1.063, allocations: 52.48 kB / 1.029 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.063, allocations: 4 kB / 1.029 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/1.063, allocations: 7.438 kB / 1.029 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.063, allocations: 0 / 1.029 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.606e-05/1.063, allocations: 26.53 kB / 1.029 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/1.064, allocations: 300.9 kB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/1.064, allocations: 45.45 kB / 1.029 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/1.064, allocations: 23.23 kB / 1.029 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/1.064, allocations: 7.234 kB / 1.029 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/1.064, allocations: 71.38 kB / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/1.064, allocations: 0 / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003195/1.064, allocations: 106.5 kB / 1.029 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.064, allocations: 51.41 kB / 1.029 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.065, allocations: 117.8 kB / 1.029 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/1.065, allocations: 29.45 kB / 1.029 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/1.065, allocations: 87.89 kB / 1.03 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/1.065, allocations: 15.25 kB / 1.03 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/1.065, allocations: 0 / 1.03 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.065, allocations: 322.6 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/1.065, allocations: 15.88 kB / 1.03 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/1.065, allocations: 60.39 kB / 1.03 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/1.065, allocations: 22.19 kB / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.065, allocations: 0 / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/1.065, allocations: 103.5 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.065, allocations: 4 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.065, allocations: 4 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.065, allocations: 0 / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.066, allocations: 15.98 kB / 1.03 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.066, allocations: 3.953 kB / 1.03 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/1.066, allocations: 15.84 kB / 1.03 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/1.066, allocations: 7.984 kB / 1.03 GB, free: 12.42 MB / 0.6511 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.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete 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 8.568e-05/1.066, allocations: 117.9 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/1.066, allocations: 3.938 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/1.066, allocations: 12.12 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.066, allocations: 0 / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.066, allocations: 0 / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.066, allocations: 3.953 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/1.066, allocations: 363 kB / 1.031 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.066, allocations: 0 / 1.031 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/1.067, allocations: 12.86 kB / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.067, allocations: 4 kB / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/1.067, allocations: 3.188 kB / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.067, allocations: 3.953 kB / 1.031 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.067, allocations: 0 / 1.031 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/1.067, allocations: 192.8 kB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/1.067, allocations: 81.02 kB / 1.031 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/1.067, allocations: 10.75 kB / 1.031 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/1.067, allocations: 4 kB / 1.031 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/1.067, allocations: 11.94 kB / 1.031 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.067, allocations: 4 kB / 1.031 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.294e-05/1.067, allocations: 101.4 kB / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.067, allocations: 0 / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004044/1.068, allocations: 43.12 kB / 1.031 GB, free: 11.44 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete 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.000456/1.068, allocations: 175.3 kB / 1.031 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001991/1.068, allocations: 60.97 kB / 1.031 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.068, allocations: 3.938 kB / 1.031 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/1.069, allocations: 28.31 kB / 1.031 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/1.069, allocations: 13.48 kB / 1.031 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/1.069, allocations: 103 kB / 1.031 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/1.069, allocations: 0.6887 MB / 1.032 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.904e-05/1.07, allocations: 4.188 kB / 1.032 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/1.07, allocations: 15.42 kB / 1.032 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of SimCode: time 8.32e-07/1.07, allocations: 0 / 1.032 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of Templates: time 0.005879/1.075, allocations: 1.514 MB / 1.034 GB, free: 8.848 MB / 0.6511 GB