Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",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.01139/0.01139, allocations: 107 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.001622/0.001622, allocations: 186.1 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.085/2.085, allocations: 194.5 MB / 211.2 MB, free: 11.05 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.452/2.452, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.0005386, allocations: 16 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7414/0.742, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.9816, allocations: 126.6 MB / 0.807 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.982, allocations: 83.94 kB / 0.8071 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01611/0.9981, allocations: 3.287 MB / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9981, allocations: 4 kB / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.9982, allocations: 0 / 0.8103 GB, free: 12.24 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001759/1, allocations: 0.6243 MB / 0.8109 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1, allocations: 8.031 kB / 0.8109 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.244e-05/1, allocations: 50.48 kB / 0.811 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/1, allocations: 23.72 kB / 0.811 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/1.001, allocations: 254.3 kB / 0.8113 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/1.001, allocations: 12.23 kB / 0.8113 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/1.001, allocations: 12 kB / 0.8113 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/1.002, allocations: 286.8 kB / 0.8116 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.002, allocations: 0 / 0.8116 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/1.002, allocations: 7.984 kB / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.002, allocations: 4 kB / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/1.004, allocations: 312.5 kB / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/1.005, allocations: 0.5477 MB / 0.8124 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/1.007, allocations: 386.4 kB / 0.8128 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/1.007, allocations: 4 kB / 0.8128 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/1.008, allocations: 245.5 kB / 0.813 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 4.709e-06/1.008, allocations: 3.984 kB / 0.813 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.00285/1.011, allocations: 0.5127 MB / 0.8135 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/1.011, allocations: 106.8 kB / 0.8136 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/1.012, allocations: 194.8 kB / 0.8138 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/1.012, allocations: 29.7 kB / 0.8138 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/1.012, allocations: 131.9 kB / 0.814 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/1.012, allocations: 47.36 kB / 0.814 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/1.012, allocations: 0 / 0.814 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.012, allocations: 330.8 kB / 0.8143 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009153/1.013, allocations: 163.9 kB / 0.8145 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009515/1.014, allocations: 191.1 kB / 0.8147 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/1.015, allocations: 213.1 kB / 0.8149 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.015, allocations: 4 kB / 0.8149 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002035/1.017, allocations: 452.5 kB / 0.8153 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.017, allocations: 152.4 kB / 0.8154 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.017, allocations: 0 / 0.8154 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.017, allocations: 0 / 0.8154 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/1.018, allocations: 67.94 kB / 0.8155 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.018, allocations: 0 / 0.8155 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/1.018, allocations: 67.94 kB / 0.8156 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/1.019, allocations: 11.92 kB / 0.8156 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/1.019, allocations: 4 kB / 0.8156 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/1.02, allocations: 369.5 kB / 0.8159 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/1.02, allocations: 4 kB / 0.8159 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/1.02, allocations: 4 kB / 0.8159 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/1.021, allocations: 51.95 kB / 0.816 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/1.021, allocations: 0 / 0.816 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/1.021, allocations: 67.78 kB / 0.8161 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/1.021, allocations: 8 kB / 0.8161 GB, free: 6.039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0002348/1.022, allocations: 217 kB / 0.8163 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/1.022, allocations: 15.81 kB / 0.8163 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/1.022, allocations: 25.52 kB / 0.8163 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.022, allocations: 4 kB / 0.8163 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.022, allocations: 0 / 0.8163 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.022, allocations: 0 / 0.8163 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/1.022, allocations: 277.4 kB / 0.8166 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.022, allocations: 0 / 0.8166 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/1.023, allocations: 75.92 kB / 0.8166 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.023, allocations: 0 / 0.8166 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/1.023, allocations: 7.938 kB / 0.8167 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.023, allocations: 0 / 0.8167 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.023, allocations: 3.938 kB / 0.8167 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/1.025, allocations: 414 kB / 0.8171 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/1.025, allocations: 92.92 kB / 0.8171 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/1.025, allocations: 8 kB / 0.8172 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/1.025, allocations: 63.92 kB / 0.8172 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.026, allocations: 31.95 kB / 0.8172 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/1.026, allocations: 8 kB / 0.8173 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000203/1.026, allocations: 148.6 kB / 0.8174 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.026, allocations: 0 / 0.8174 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005344/1.026, allocations: 79.83 kB / 0.8175 GB, free: 4.512 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 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002365/1.029, allocations: 0.9491 MB / 0.8184 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00292/1.032, allocations: 0.7106 MB / 0.8191 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.032, allocations: 4 kB / 0.8191 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009637/1.033, allocations: 171.8 kB / 0.8193 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/1.033, allocations: 27.94 kB / 0.8193 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/1.038, allocations: 1.523 MB / 0.8208 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/1.039, allocations: 0.7328 MB / 0.8215 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002258/1.039, allocations: 25.53 kB / 0.8215 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/1.039, allocations: 53.25 kB / 0.8216 GB, free: 164 kB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/1.039, allocations: 4 kB / 0.8216 GB, free: 160 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/1.07, allocations: 4.798 MB / 0.8263 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004019/1.071, allocations: 221.5 kB / 0.8265 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.651, allocations: 0 / 0.8265 GB, free: 11.28 MB / 0.6511 GB