Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.068/5.068, allocations: 0.5623 GB / 0.5775 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00248/0.00248, allocations: 364.7 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.24/4.24, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001835/0.001835, allocations: 166.7 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005202, allocations: 20 kB / 1.349 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.7637, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.9741, allocations: 139.8 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.9744, allocations: 91.95 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01263/0.9871, allocations: 2.885 MB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9871, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.9871, allocations: 1.281 kB / 1.601 GB, free: 141.4 MB / 0.8542 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.0005857/0.9877, allocations: 452 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.9878, allocations: 11.62 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.9878, allocations: 7.984 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.924e-05/0.9879, allocations: 174.9 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.988, allocations: 5.25 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.988, allocations: 8 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.9883, allocations: 71.09 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.9883, allocations: 0 / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.9883, allocations: 1.562 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.9884, allocations: 0 / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.9886, allocations: 45.28 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.9892, allocations: 315 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.9894, allocations: 48.97 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.9895, allocations: 40.95 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.9895, allocations: 4.281 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.9898, allocations: 83.36 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.9898, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006022/0.9904, allocations: 147.9 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.9905, allocations: 55.36 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.9906, allocations: 123.8 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.9906, allocations: 30.77 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.9907, allocations: 96.3 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.9907, allocations: 19.8 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.9907, allocations: 0.6562 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.9908, allocations: 318 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.9909, allocations: 27.92 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.991, allocations: 68.55 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.9912, allocations: 34.09 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9912, allocations: 0 / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003345/0.9916, allocations: 116.5 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.9916, allocations: 7.984 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.9916, allocations: 4.5 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.9916, allocations: 0.5625 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.9918, allocations: 17.34 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9918, allocations: 3.953 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.9919, allocations: 15.89 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.9919, allocations: 6.25 kB / 1.603 GB, free: 138.9 MB / 0.8542 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 9.411e-05/0.992, allocations: 129.5 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.9921, allocations: 9.688 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.9921, allocations: 12.36 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.9921, allocations: 0.9062 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9921, allocations: 4 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9922, allocations: 5.109 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.9928, allocations: 380.2 kB / 1.603 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.9928, allocations: 0 / 1.603 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.9928, allocations: 4.875 kB / 1.603 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9929, allocations: 0 / 1.603 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.9929, allocations: 4.516 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.9929, allocations: 7.953 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9929, allocations: 1.375 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.9933, allocations: 204.9 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.9934, allocations: 82.48 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.9934, allocations: 7.984 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.9935, allocations: 4 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.9936, allocations: 12.5 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.9936, allocations: 5.031 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.9937, allocations: 91.27 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9937, allocations: 0.5 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004717/0.9942, allocations: 51.94 kB / 1.604 GB, free: 137.8 MB / 0.8542 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.0004237/0.9946, allocations: 176.5 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.995, allocations: 78.28 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.995, allocations: 1.469 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.9952, allocations: 35.98 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.9955, allocations: 12.8 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.996, allocations: 219.9 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.9962, allocations: 0.6887 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.034e-05/0.9962, allocations: 4.188 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.9963, allocations: 15.42 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.9963, allocations: 2.188 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005515/1.002, allocations: 1.504 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB