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.01128/0.01129, allocations: 106.2 kB / 15.06 MB, free: 6.027 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.001274/0.001275, allocations: 181.7 kB / 15.95 MB, free: 5.953 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.102/2.102, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.477/2.477, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006827/0.0006832, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7151, allocations: 98.71 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001949/0.7171, allocations: 1.182 MB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.7187, allocations: 0.7024 MB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.7188, allocations: 1.344 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.7188, allocations: 5.297 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.7189, allocations: 12.09 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.7195, allocations: 85.14 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.7197, allocations: 50.3 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.7198, allocations: 6.188 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.7199, allocations: 36.81 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.72, allocations: 30.5 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.72, allocations: 2.344 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.7203, allocations: 64.66 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.7203, allocations: 10.8 kB / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.7204, allocations: 43.98 kB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.7206, allocations: 92.53 kB / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7206, allocations: 0 / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7207, allocations: 0 / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.7207, allocations: 0 / 0.6857 GB, free: 15.2 MB / 0.5261 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.0006834/0.7214, allocations: 436.7 kB / 0.6861 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.7214, allocations: 9.906 kB / 0.6861 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.7215, allocations: 35.69 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.7215, allocations: 15.48 kB / 0.6862 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.7217, allocations: 180.3 kB / 0.6863 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.7217, allocations: 2.562 kB / 0.6863 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.7217, allocations: 10.44 kB / 0.6863 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.722, allocations: 66.36 kB / 0.6864 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.722, allocations: 1.219 kB / 0.6864 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.7221, allocations: 0 / 0.6864 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7221, allocations: 1.281 kB / 0.6864 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.7223, allocations: 47.92 kB / 0.6865 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.7229, allocations: 300 kB / 0.6867 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.7232, allocations: 52.75 kB / 0.6868 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.7232, allocations: 1.594 kB / 0.6868 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.7235, allocations: 75.89 kB / 0.6869 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.7235, allocations: 0 / 0.6869 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006426/0.7241, allocations: 156.3 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.7242, allocations: 54.19 kB / 0.6871 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.7243, allocations: 118.5 kB / 0.6872 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.7243, allocations: 31.98 kB / 0.6872 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.7244, allocations: 99.48 kB / 0.6873 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.7244, allocations: 20.52 kB / 0.6873 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.7245, allocations: 4 kB / 0.6873 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.7245, allocations: 321 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.7247, allocations: 21.48 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.7248, allocations: 70.02 kB / 0.6877 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.725, allocations: 37.78 kB / 0.6878 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.725, allocations: 0 / 0.6878 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000405/0.7254, allocations: 117.9 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7255, allocations: 7.156 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.7255, allocations: 1.156 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.7255, allocations: 6.516 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.7257, allocations: 12.84 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.7257, allocations: 7.594 kB / 0.6879 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.7258, allocations: 14.42 kB / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.7258, allocations: 8.719 kB / 0.6879 GB, free: 13.18 MB / 0.5261 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,occ.y,$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.0001087/0.726, allocations: 124.8 kB / 0.688 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.726, allocations: 7.125 kB / 0.6881 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.726, allocations: 7.906 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.726, allocations: 4.984 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.7261, allocations: 0 / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7261, allocations: 0.6094 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.7267, allocations: 387.8 kB / 0.6884 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7268, allocations: 1.312 kB / 0.6884 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.641e-05/0.7268, allocations: 5.656 kB / 0.6884 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.7268, allocations: 5.234 kB / 0.6884 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.7269, allocations: 0.9844 kB / 0.6884 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.7269, allocations: 1.25 kB / 0.6885 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7269, allocations: 0 / 0.6885 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.7273, allocations: 212.8 kB / 0.6887 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.7274, allocations: 86.98 kB / 0.6887 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.7274, allocations: 9.984 kB / 0.6887 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7276, allocations: 10.47 kB / 0.6888 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.7276, allocations: 9.188 kB / 0.6888 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.7277, allocations: 2.25 kB / 0.6888 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.953e-05/0.7277, allocations: 96.22 kB / 0.6889 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.423e-06/0.7277, allocations: 0 / 0.6889 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004511/0.7282, allocations: 43.23 kB / 0.6889 GB, free: 12.32 MB / 0.5261 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,occ.y,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.0009634/0.7292, allocations: 0.7984 MB / 0.6897 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.7296, allocations: 83.89 kB / 0.6898 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7296, allocations: 1 kB / 0.6898 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.7298, allocations: 39.38 kB / 0.6898 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.7301, allocations: 14.53 kB / 0.6898 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.7311, allocations: 1.189 MB / 0.691 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.7313, allocations: 0.6931 MB / 0.6917 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.096e-05/0.7313, allocations: 9.25 kB / 0.6917 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.7314, allocations: 21.31 kB / 0.6917 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/0.7314, allocations: 0 / 0.6917 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.7606, allocations: 2.294 MB / 0.6939 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/0.761, allocations: 247.3 kB / 0.6942 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.394, allocations: 0 / 0.6942 GB, free: 9.18 MB / 0.5261 GB