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.01081/0.01081, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.001234/0.001234, allocations: 178.2 kB / 15.95 MB, free: 5.52 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.066/2.066, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.493/2.493, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006552, allocations: 8 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7334, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002118/0.7356, allocations: 1.173 MB / 0.6846 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.7373, allocations: 0.7113 MB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.7374, allocations: 1.25 kB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.7375, allocations: 0.7031 kB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.7376, allocations: 12.12 kB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.7382, allocations: 86 kB / 0.6854 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.7384, allocations: 49.42 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.7385, allocations: 6.484 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.7386, allocations: 37.84 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.389e-05/0.7387, allocations: 29.86 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.7388, allocations: 2.562 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.739, allocations: 65 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.739, allocations: 10.75 kB / 0.6856 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.7391, allocations: 39.52 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.7393, allocations: 92.28 kB / 0.6857 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7394, allocations: 0 / 0.6857 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7394, allocations: 0 / 0.6857 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7394, allocations: 0 / 0.6857 GB, free: 15.27 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.0006243/0.74, allocations: 438.7 kB / 0.6861 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.7401, allocations: 10.19 kB / 0.6861 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.7401, allocations: 36.72 kB / 0.6861 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.7402, allocations: 16.36 kB / 0.6862 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.7403, allocations: 172.5 kB / 0.6863 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.7403, allocations: 1.531 kB / 0.6863 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.7404, allocations: 8.703 kB / 0.6863 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.7407, allocations: 78.78 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7407, allocations: 0.75 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.7407, allocations: 1.531 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7407, allocations: 0 / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.741, allocations: 46.03 kB / 0.6865 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.7416, allocations: 295.8 kB / 0.6867 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.7418, allocations: 48.47 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.7418, allocations: 5.344 kB / 0.6868 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.7421, allocations: 83.72 kB / 0.6869 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.7422, allocations: 5.375 kB / 0.6869 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006756/0.7428, allocations: 151.7 kB / 0.687 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.7429, allocations: 57.47 kB / 0.6871 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.743, allocations: 120.2 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.7431, allocations: 29.7 kB / 0.6872 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.7431, allocations: 92.2 kB / 0.6873 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.7432, allocations: 24.94 kB / 0.6873 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.7432, allocations: 0 / 0.6873 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.7432, allocations: 320.1 kB / 0.6876 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.7434, allocations: 27 kB / 0.6877 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.7435, allocations: 69.91 kB / 0.6877 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.7437, allocations: 32.59 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7437, allocations: 1.125 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003872/0.7441, allocations: 113.9 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.7442, allocations: 5.5 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.7442, allocations: 6.062 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.7442, allocations: 7 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.7444, allocations: 16.97 kB / 0.6879 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.7444, allocations: 2.359 kB / 0.6879 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.7445, allocations: 10.83 kB / 0.6879 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.7445, allocations: 4.281 kB / 0.6879 GB, free: 13.25 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.0001175/0.7447, allocations: 121.6 kB / 0.688 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.7447, allocations: 11.73 kB / 0.688 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.7447, allocations: 5.906 kB / 0.6881 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7448, allocations: 6.797 kB / 0.6881 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7448, allocations: 0 / 0.6881 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7448, allocations: 0.6562 kB / 0.6881 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.7455, allocations: 383.5 kB / 0.6884 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.7455, allocations: 0 / 0.6884 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.7456, allocations: 10.08 kB / 0.6884 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.7456, allocations: 5.188 kB / 0.6884 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.7456, allocations: 6.25 kB / 0.6884 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.7456, allocations: 0 / 0.6884 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7457, allocations: 1.75 kB / 0.6884 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.7461, allocations: 215.9 kB / 0.6887 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.7461, allocations: 90.42 kB / 0.6887 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.7462, allocations: 9.297 kB / 0.6887 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.7463, allocations: 7.844 kB / 0.6888 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.7464, allocations: 6.125 kB / 0.6888 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.7465, allocations: 2.375 kB / 0.6888 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.289e-05/0.7465, allocations: 95.53 kB / 0.6889 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7465, allocations: 0 / 0.6889 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004813/0.747, allocations: 46.31 kB / 0.6889 GB, free: 12.39 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.001031/0.7481, allocations: 0.81 MB / 0.6897 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.7485, allocations: 76.38 kB / 0.6898 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7485, allocations: 0 / 0.6898 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.7487, allocations: 40.67 kB / 0.6898 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.749, allocations: 13.56 kB / 0.6898 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.7506, allocations: 1.188 MB / 0.691 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.7508, allocations: 0.6911 MB / 0.6916 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.751, allocations: 8.047 kB / 0.6917 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.7511, allocations: 21.69 kB / 0.6917 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.302e-06/0.7511, allocations: 0 / 0.6917 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.7803, allocations: 2.313 MB / 0.6939 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.7806, allocations: 240.6 kB / 0.6942 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/3.618, allocations: 0 / 0.6942 GB, free: 9.238 MB / 0.5261 GB