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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01827/0.01827, allocations: 107.3 kB / 15.05 MB, free: 5.934 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.001183/0.001183, allocations: 185.6 kB / 15.95 MB, free: 5.898 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 2.138/2.138, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.252/2.252, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004884, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7411, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.9738, allocations: 126.4 MB / 0.8069 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.9742, allocations: 91.92 kB / 0.807 GB, free: 15.68 MB / 0.6355 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.01731/0.9915, allocations: 2.835 MB / 0.8097 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.522e-06/0.9916, allocations: 4 kB / 0.8097 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.9916, allocations: 0 / 0.8097 GB, free: 12.83 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.001148/0.9928, allocations: 453 kB / 0.8102 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.112e-05/0.9929, allocations: 8.031 kB / 0.8102 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.243e-05/0.993, allocations: 38.5 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.993, allocations: 7.859 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.9932, allocations: 175 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.9933, allocations: 8 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.9934, allocations: 4 kB / 0.8104 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.9938, allocations: 73.64 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.9938, allocations: 0 / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.9938, allocations: 0 / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.9938, allocations: 4 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.9942, allocations: 47.91 kB / 0.8105 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.9951, allocations: 300.8 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.9954, allocations: 50.56 kB / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.9954, allocations: 0 / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.9957, allocations: 79.5 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.9957, allocations: 3.938 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006689/0.9964, allocations: 153.5 kB / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.9965, allocations: 55.47 kB / 0.8111 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.9966, allocations: 109 kB / 0.8112 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.9967, allocations: 37.64 kB / 0.8113 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.9967, allocations: 88.31 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.9968, allocations: 23.69 kB / 0.8114 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.9968, allocations: 0 / 0.8114 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9969, allocations: 326.8 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.9971, allocations: 23.98 kB / 0.8117 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.9972, allocations: 61.52 kB / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.9974, allocations: 39.97 kB / 0.8118 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.9974, allocations: 0 / 0.8118 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004029/0.9978, allocations: 121.5 kB / 0.8119 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9979, allocations: 4 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.9979, allocations: 4 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.9979, allocations: 0 / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.9981, allocations: 15.98 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.9981, allocations: 11.89 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.9982, allocations: 7.906 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.9982, allocations: 8 kB / 0.812 GB, free: 10.28 MB / 0.6355 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.0001373/0.9984, allocations: 121.9 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.9984, allocations: 4 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.9985, allocations: 8.375 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9985, allocations: 4 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9985, allocations: 0 / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.9985, allocations: 3.953 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.9993, allocations: 390.4 kB / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.9993, allocations: 0 / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/0.9994, allocations: 7.984 kB / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.9994, allocations: 0 / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.9994, allocations: 4 kB / 0.8125 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.9994, allocations: 3.953 kB / 0.8125 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9994, allocations: 0 / 0.8125 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/1, allocations: 219.4 kB / 0.8127 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/1, allocations: 88.95 kB / 0.8128 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/1, allocations: 0 / 0.8128 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1, allocations: 4 kB / 0.8128 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/1, allocations: 11.94 kB / 0.8128 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/1, allocations: 0 / 0.8128 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.018e-05/1, allocations: 103.4 kB / 0.8129 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.5e-07/1, allocations: 0 / 0.8129 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004608/1.001, allocations: 43.98 kB / 0.813 GB, free: 9.172 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.0012/1.002, allocations: 0.8292 MB / 0.8138 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004026/1.003, allocations: 79.84 kB / 0.8138 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.003, allocations: 4.312 kB / 0.8138 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/1.003, allocations: 31.98 kB / 0.8139 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/1.003, allocations: 14.12 kB / 0.8139 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/1.004, allocations: 1.209 MB / 0.8151 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/1.005, allocations: 0.6887 MB / 0.8157 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.199e-05/1.005, allocations: 4.188 kB / 0.8157 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/1.005, allocations: 27.36 kB / 0.8158 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/1.005, allocations: 4 kB / 0.8158 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/1.029, allocations: 2.486 MB / 0.8182 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/1.03, allocations: 236.4 kB / 0.8184 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.761, allocations: 0 / 0.8184 GB, free: 3.57 MB / 0.6355 GB