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: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006571/0.006571, allocations: 229.9 kB / 15.82 MB, free: 6.297 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.001856/0.001856, allocations: 172.3 kB / 16.7 MB, free: 5.445 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 3.953/3.953, allocations: 389.1 MB / 406.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.88/3.88, allocations: 472.3 MB / 0.9024 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006712/0.0006713, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.186, allocations: 98.73 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8285/1.015, allocations: 126.6 MB / 1.228 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/1.015, allocations: 85.02 kB / 1.228 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01608/1.031, allocations: 3.28 MB / 1.232 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.574e-06/1.031, allocations: 3.938 kB / 1.232 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.764e-05/1.031, allocations: 4 kB / 1.232 GB, free: 24.95 MB / 0.6198 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.001697/1.033, allocations: 0.6159 MB / 1.232 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.033, allocations: 8.031 kB / 1.232 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.337e-05/1.033, allocations: 25.44 kB / 1.232 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/1.033, allocations: 252.1 kB / 1.232 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/1.033, allocations: 13.98 kB / 1.232 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/1.034, allocations: 13.33 kB / 1.232 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.035, allocations: 291.4 kB / 1.233 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.035, allocations: 2.672 kB / 1.233 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/1.035, allocations: 4.875 kB / 1.233 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/1.035, allocations: 4 kB / 1.233 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.037, allocations: 313.2 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/1.038, allocations: 0.5414 MB / 1.234 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/1.04, allocations: 384.6 kB / 1.234 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009039/1.041, allocations: 168.5 kB / 1.234 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/1.041, allocations: 4.641 kB / 1.234 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/1.042, allocations: 243.7 kB / 1.234 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.687e-06/1.042, allocations: 1.219 kB / 1.234 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002771/1.045, allocations: 0.5144 MB / 1.235 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/1.045, allocations: 110.1 kB / 1.235 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/1.045, allocations: 209.8 kB / 1.235 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/1.045, allocations: 29.58 kB / 1.235 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.045, allocations: 127.2 kB / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/1.045, allocations: 44.25 kB / 1.235 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/1.045, allocations: 3.375 kB / 1.235 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.046, allocations: 331.6 kB / 1.236 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/1.047, allocations: 167.2 kB / 1.236 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009049/1.047, allocations: 188.5 kB / 1.236 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/1.048, allocations: 208.8 kB / 1.236 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.048, allocations: 0 / 1.236 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001916/1.05, allocations: 455.8 kB / 1.237 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.05, allocations: 158.2 kB / 1.237 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.05, allocations: 0.875 kB / 1.237 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.05, allocations: 3.156 kB / 1.237 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/1.051, allocations: 72.52 kB / 1.237 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.051, allocations: 0 / 1.237 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/1.052, allocations: 68.53 kB / 1.237 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/1.052, allocations: 10.11 kB / 1.237 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/1.052, allocations: 4 kB / 1.237 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001531/1.053, allocations: 369.8 kB / 1.237 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.053, allocations: 0.875 kB / 1.237 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/1.053, allocations: 0 / 1.237 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/1.054, allocations: 55.39 kB / 1.237 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/1.054, allocations: 8.469 kB / 1.237 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/1.054, allocations: 58.36 kB / 1.237 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/1.054, allocations: 7.812 kB / 1.237 GB, free: 20.33 MB / 0.6198 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.0006995/1.055, allocations: 213.4 kB / 1.238 GB, free: 36.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/1.055, allocations: 23.72 kB / 1.238 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/1.055, allocations: 22.73 kB / 1.238 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.055, allocations: 2.906 kB / 1.238 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.055, allocations: 0.8438 kB / 1.238 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.055, allocations: 0 / 1.238 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/1.056, allocations: 283.5 kB / 1.238 GB, free: 35.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.056, allocations: 3.688 kB / 1.238 GB, free: 35.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/1.056, allocations: 74.73 kB / 1.238 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.056, allocations: 0 / 1.238 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/1.056, allocations: 6.062 kB / 1.238 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.056, allocations: 0 / 1.238 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.056, allocations: 0 / 1.238 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/1.058, allocations: 404.4 kB / 1.238 GB, free: 35.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/1.058, allocations: 102.7 kB / 1.238 GB, free: 35.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/1.058, allocations: 0 / 1.238 GB, free: 35.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/1.059, allocations: 65.47 kB / 1.239 GB, free: 35.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.059, allocations: 33.3 kB / 1.239 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/1.059, allocations: 6.672 kB / 1.239 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002144/1.059, allocations: 155.2 kB / 1.239 GB, free: 35.24 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.11e-07/1.059, allocations: 0 / 1.239 GB, free: 35.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005293/1.06, allocations: 83.22 kB / 1.239 GB, free: 35.17 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.0001823/1.06, allocations: 117.3 kB / 1.239 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002674/1.063, allocations: 0.7001 MB / 1.24 GB, free: 34.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.063, allocations: 0 / 1.24 GB, free: 34.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009383/1.064, allocations: 182.9 kB / 1.24 GB, free: 34.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/1.064, allocations: 35.88 kB / 1.24 GB, free: 34.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/1.065, allocations: 431 kB / 1.24 GB, free: 34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/1.066, allocations: 0.7316 MB / 1.241 GB, free: 33.26 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002452/1.066, allocations: 25.06 kB / 1.241 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/1.066, allocations: 22.06 kB / 1.241 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/1.066, allocations: 0 / 1.241 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.00927/1.076, allocations: 3 MB / 1.244 GB, free: 30.73 MB / 0.6355 GB