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.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.01286/0.01286, allocations: 106.8 kB / 15.05 MB, free: 5.938 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.001269/0.001269, allocations: 184.9 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.144/2.144, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.527/2.527, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006561/0.0006561, allocations: 8 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6869/0.6876, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.9159, allocations: 126.4 MB / 0.8069 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.9162, allocations: 83.95 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.013/0.9293, allocations: 2.843 MB / 0.8097 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9293, allocations: 0 / 0.8097 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.9293, allocations: 4 kB / 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.0006788/0.93, allocations: 445 kB / 0.8102 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.9301, allocations: 12.03 kB / 0.8102 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.9301, allocations: 38.55 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.9302, allocations: 11.86 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.9303, allocations: 170.9 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.9304, allocations: 0 / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.9304, allocations: 4 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.9307, allocations: 81.58 kB / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9307, allocations: 4 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.9307, allocations: 3.984 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.9307, allocations: 3.984 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.931, allocations: 35.98 kB / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.9316, allocations: 304.8 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.9318, allocations: 54.55 kB / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.9318, allocations: 4 kB / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.9321, allocations: 79.5 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.9321, allocations: 0 / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006172/0.9327, allocations: 149.5 kB / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.9328, allocations: 63.41 kB / 0.8111 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.9329, allocations: 108.9 kB / 0.8112 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.933, allocations: 33.69 kB / 0.8113 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.933, allocations: 88.33 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.9331, allocations: 15.75 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.9331, allocations: 4 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9332, allocations: 318.8 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.9333, allocations: 27.98 kB / 0.8117 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.9335, allocations: 61.58 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.9337, allocations: 35.92 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9337, allocations: 0 / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000363/0.9341, allocations: 117.4 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.9342, allocations: 8.156 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.9342, allocations: 8 kB / 0.8119 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.9342, allocations: 4 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.9343, allocations: 11.98 kB / 0.8119 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.9344, allocations: 7.953 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.9345, allocations: 11.91 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.9345, allocations: 11.92 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.0001109/0.9346, allocations: 119.2 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.9347, allocations: 4 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.9347, allocations: 12.38 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.9347, allocations: 0 / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9347, allocations: 0 / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.9347, allocations: 3.953 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.9354, allocations: 382.4 kB / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.9354, allocations: 4 kB / 0.8125 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.9355, allocations: 11.98 kB / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9355, allocations: 3.938 kB / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.9356, allocations: 0 / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.9356, allocations: 3.953 kB / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9356, allocations: 3.938 kB / 0.8125 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.936, allocations: 215.5 kB / 0.8127 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.9361, allocations: 84.95 kB / 0.8128 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.9361, allocations: 4 kB / 0.8128 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.9363, allocations: 11.92 kB / 0.8128 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.9363, allocations: 3.953 kB / 0.8128 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.9364, allocations: 7.984 kB / 0.8128 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.686e-05/0.9364, allocations: 95.44 kB / 0.8129 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9364, allocations: 0 / 0.8129 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004279/0.9369, allocations: 51.92 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.001097/0.938, allocations: 0.8269 MB / 0.8138 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.9384, allocations: 67.91 kB / 0.8138 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.9384, allocations: 320 / 0.8138 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.9386, allocations: 47.91 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.0002412/0.9388, allocations: 14.36 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.001126/0.94, allocations: 1.205 MB / 0.8151 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.9402, allocations: 0.6887 MB / 0.8157 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.198e-05/0.9403, allocations: 4.188 kB / 0.8157 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.9404, allocations: 23.42 kB / 0.8158 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.9404, allocations: 0 / 0.8158 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.9618, allocations: 2.486 MB / 0.8182 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.9621, allocations: 243.3 kB / 0.8184 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.558, allocations: 0 / 0.8184 GB, free: 3.574 MB / 0.6355 GB