Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.416/2.416, allocations: 253.2 MB / 260.6 MB, free: 7.48 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.001402/0.001402, allocations: 175.4 kB / 319.9 MB, free: 3.055 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.144/2.144, allocations: 205.6 MB / 0.5709 GB, free: 15.24 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.00108/0.00108, allocations: 88.31 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.164e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.08, allocations: 133.6 MB / 1.019 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/1.08, allocations: 83.83 kB / 1.019 GB, free: 3.652 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.01355/1.094, allocations: 2.856 MB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/1.094, allocations: 4 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.094, allocations: 0 / 1.022 GB, free: 1.234 MB / 0.6355 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.0006511/1.095, allocations: 431.1 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.095, allocations: 12.97 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/1.095, allocations: 15.84 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/1.095, allocations: 170.9 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/1.095, allocations: 4 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/1.095, allocations: 8 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001121/1.095, allocations: 30.36 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/1.095, allocations: 56.28 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.095, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/1.095, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.095, allocations: 4 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/1.096, allocations: 274.5 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/1.096, allocations: 43.19 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/1.096, allocations: 27.3 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/1.096, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/1.096, allocations: 67.83 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/1.096, allocations: 4 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003457/1.097, allocations: 98.38 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/1.097, allocations: 55.36 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/1.097, allocations: 112.7 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/1.097, allocations: 29.7 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/1.097, allocations: 87.39 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/1.097, allocations: 23.3 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/1.097, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.097, allocations: 314.8 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/1.097, allocations: 23 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/1.097, allocations: 51.95 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/1.098, allocations: 22.42 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.098, allocations: 4 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002251/1.098, allocations: 86.41 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.098, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.098, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.098, allocations: 3.984 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/1.098, allocations: 12 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.098, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/1.098, allocations: 24 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/1.098, allocations: 4 kB / 1.024 GB, free: 15.07 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 0.0001082/1.098, allocations: 113.7 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/1.098, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/1.098, allocations: 11.75 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.098, allocations: 48 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.098, allocations: 3.984 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.098, allocations: 3.984 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/1.099, allocations: 342.5 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.099, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/1.099, allocations: 7.984 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.099, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.099, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.099, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.099, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/1.099, allocations: 189.2 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/1.1, allocations: 85 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/1.1, allocations: 3.5 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.1, allocations: 7.938 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/1.1, allocations: 7.984 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/1.1, allocations: 8 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.684e-05/1.1, allocations: 95.8 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.1, allocations: 3.938 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004803/1.1, allocations: 51.52 kB / 1.025 GB, free: 14.12 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.0005127/1.101, allocations: 160 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002169/1.101, allocations: 53.61 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.101, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/1.101, allocations: 23.25 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/1.102, allocations: 16.25 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/1.102, allocations: 99.02 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/1.102, allocations: 0.6885 MB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.727e-05/1.102, allocations: 4.188 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/1.103, allocations: 11.44 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of SimCode: time 3.286e-06/1.103, allocations: 4 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.006025/1.109, allocations: 1.495 MB / 1.027 GB, free: 11.58 MB / 0.6511 GB