Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00427/0.004276, allocations: 230.8 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001184/0.001184, allocations: 171.5 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.844/3.844, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.142/4.142, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004987, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1748, allocations: 98.71 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.848/1.023, allocations: 126.4 MB / 1.228 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/1.023, allocations: 84.66 kB / 1.228 GB, free: 27.1 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.0132/1.036, allocations: 2.849 MB / 1.231 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.775e-06/1.037, allocations: 0 / 1.231 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.864e-06/1.037, allocations: 0 / 1.231 GB, free: 25.46 MB / 0.6198 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.0006929/1.037, allocations: 449.5 kB / 1.231 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.037, allocations: 8.641 kB / 1.231 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/1.037, allocations: 8.531 kB / 1.231 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.037, allocations: 180 kB / 1.232 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/1.038, allocations: 8.125 kB / 1.232 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/1.038, allocations: 5.172 kB / 1.232 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/1.038, allocations: 72.53 kB / 1.232 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.038, allocations: 0 / 1.232 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/1.038, allocations: 3.125 kB / 1.232 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/1.038, allocations: 1.547 kB / 1.232 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/1.038, allocations: 44.53 kB / 1.232 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/1.039, allocations: 301.5 kB / 1.232 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/1.039, allocations: 53.55 kB / 1.232 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/1.039, allocations: 32.31 kB / 1.232 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/1.039, allocations: 7.312 kB / 1.232 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/1.04, allocations: 78.98 kB / 1.232 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/1.04, allocations: 0 / 1.232 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000633/1.04, allocations: 154.2 kB / 1.232 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/1.04, allocations: 56.11 kB / 1.232 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/1.041, allocations: 118 kB / 1.232 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/1.041, allocations: 33.81 kB / 1.232 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/1.041, allocations: 88.17 kB / 1.233 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/1.041, allocations: 19.92 kB / 1.233 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/1.041, allocations: 6.688 kB / 1.233 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.041, allocations: 316.6 kB / 1.233 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/1.041, allocations: 23.28 kB / 1.233 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/1.041, allocations: 68.56 kB / 1.233 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/1.041, allocations: 38.02 kB / 1.233 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/1.041, allocations: 0 / 1.233 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004271/1.042, allocations: 119 kB / 1.233 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.042, allocations: 4 kB / 1.233 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.042, allocations: 7.594 kB / 1.233 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.042, allocations: 0 / 1.233 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/1.042, allocations: 18.81 kB / 1.233 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.042, allocations: 3.938 kB / 1.233 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/1.042, allocations: 16.92 kB / 1.233 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/1.042, allocations: 4 kB / 1.233 GB, free: 23.25 MB / 0.6198 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 () * 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.000152/1.042, allocations: 120.1 kB / 1.233 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/1.042, allocations: 4.844 kB / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/1.043, allocations: 8.078 kB / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.043, allocations: 7 kB / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.043, allocations: 6.672 kB / 1.233 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.043, allocations: 0.75 kB / 1.233 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/1.043, allocations: 381.6 kB / 1.234 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.043, allocations: 0.875 kB / 1.234 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/1.043, allocations: 5.828 kB / 1.234 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/1.043, allocations: 2.875 kB / 1.234 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/1.043, allocations: 9.172 kB / 1.234 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.043, allocations: 0.8438 kB / 1.234 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.043, allocations: 0.875 kB / 1.234 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009197/1.044, allocations: 211.9 kB / 1.234 GB, free: 38.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/1.044, allocations: 94.58 kB / 1.234 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/1.044, allocations: 0 / 1.234 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.045, allocations: 13.39 kB / 1.234 GB, free: 38.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.045, allocations: 14.94 kB / 1.234 GB, free: 38.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/1.045, allocations: 0 / 1.234 GB, free: 38.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.59e-05/1.045, allocations: 95.5 kB / 1.234 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.4e-07/1.045, allocations: 0 / 1.234 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004974/1.045, allocations: 45.16 kB / 1.234 GB, free: 38.31 MB / 0.6355 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 () * 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.0004841/1.046, allocations: 177.3 kB / 1.234 GB, free: 38.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004008/1.046, allocations: 77.69 kB / 1.234 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.046, allocations: 3.469 kB / 1.234 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/1.046, allocations: 37.88 kB / 1.234 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/1.047, allocations: 17.19 kB / 1.234 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/1.047, allocations: 215.9 kB / 1.235 GB, free: 37.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/1.048, allocations: 0.6956 MB / 1.235 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.306e-05/1.048, allocations: 5.453 kB / 1.235 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/1.048, allocations: 8.047 kB / 1.235 GB, free: 37.17 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/1.048, allocations: 1.844 kB / 1.235 GB, free: 37.17 MB / 0.6355 GB Notification: Performance of Templates: time 0.00598/1.054, allocations: 1.513 MB / 1.237 GB, free: 36.42 MB / 0.6355 GB