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.009316/0.009316, allocations: 109.7 kB / 15.05 MB, free: 5.965 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.001166/0.001166, allocations: 182.1 kB / 15.94 MB, free: 5.93 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 1.859/1.859, allocations: 194.6 MB / 211.3 MB, free: 11.1 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.146/2.146, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004719, allocations: 12 kB / 0.5869 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6117/0.6122, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.7998, allocations: 126.6 MB / 0.8069 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.8002, allocations: 83.94 kB / 0.807 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.8149, allocations: 3.295 MB / 0.8102 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.436e-06/0.815, allocations: 0 / 0.8102 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.815, allocations: 4 kB / 0.8102 GB, free: 12.35 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.00135/0.8164, allocations: 0.6125 MB / 0.8108 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8164, allocations: 8.031 kB / 0.8108 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.863e-05/0.8165, allocations: 23.72 kB / 0.8109 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.8169, allocations: 262.5 kB / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.817, allocations: 4.234 kB / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.817, allocations: 12 kB / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.818, allocations: 290.8 kB / 0.8114 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.818, allocations: 0 / 0.8114 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.818, allocations: 4 kB / 0.8114 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.8181, allocations: 7.984 kB / 0.8114 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.8193, allocations: 308.5 kB / 0.8117 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.8205, allocations: 0.5555 MB / 0.8123 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.822, allocations: 386.4 kB / 0.8126 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.8221, allocations: 0 / 0.8126 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008368/0.8229, allocations: 233.2 kB / 0.8128 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 3.595e-06/0.8229, allocations: 0 / 0.8128 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001979/0.8249, allocations: 0.5204 MB / 0.8134 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.8251, allocations: 110.8 kB / 0.8135 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.8253, allocations: 190.8 kB / 0.8136 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.8254, allocations: 29.7 kB / 0.8137 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.8255, allocations: 135.9 kB / 0.8138 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.8256, allocations: 47.28 kB / 0.8138 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.8257, allocations: 4 kB / 0.8139 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.8259, allocations: 333.2 kB / 0.8142 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.8265, allocations: 163.9 kB / 0.8143 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/0.8272, allocations: 194.4 kB / 0.8145 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.8278, allocations: 205.2 kB / 0.8147 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.904e-06/0.8279, allocations: 0 / 0.8147 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001478/0.8293, allocations: 452.5 kB / 0.8151 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.8295, allocations: 158.5 kB / 0.8153 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.296e-06/0.8295, allocations: 4 kB / 0.8153 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.8295, allocations: 4 kB / 0.8153 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.8299, allocations: 67.94 kB / 0.8154 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.766e-06/0.83, allocations: 0 / 0.8154 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.8304, allocations: 63.94 kB / 0.8154 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.8305, allocations: 15.98 kB / 0.8154 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.577e-06/0.8305, allocations: 0 / 0.8154 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.8317, allocations: 380.2 kB / 0.8158 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.8317, allocations: 0 / 0.8158 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.535e-06/0.8317, allocations: 0 / 0.8158 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.832, allocations: 51.95 kB / 0.8159 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.823e-06/0.8321, allocations: 4 kB / 0.8159 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.8325, allocations: 55.88 kB / 0.8159 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.8325, allocations: 4 kB / 0.8159 GB, free: 6.223 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.0002589/0.8328, allocations: 217 kB / 0.8161 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.8328, allocations: 23.72 kB / 0.8161 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.8329, allocations: 25.52 kB / 0.8162 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-06/0.8329, allocations: 3.938 kB / 0.8162 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.429e-06/0.8329, allocations: 0 / 0.8162 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-06/0.833, allocations: 0 / 0.8162 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.8333, allocations: 277.5 kB / 0.8164 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-06/0.8333, allocations: 0 / 0.8164 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.8337, allocations: 71.92 kB / 0.8165 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.212e-06/0.8337, allocations: 0 / 0.8165 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.8338, allocations: 4 kB / 0.8165 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.394e-06/0.8338, allocations: 0 / 0.8165 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.905e-06/0.8338, allocations: 3.984 kB / 0.8165 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.8352, allocations: 418.1 kB / 0.8169 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.8353, allocations: 92.92 kB / 0.817 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.8354, allocations: 4 kB / 0.817 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.8358, allocations: 63.92 kB / 0.8171 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.8359, allocations: 31.95 kB / 0.8171 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.8359, allocations: 7.938 kB / 0.8171 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002015/0.8361, allocations: 152.6 kB / 0.8172 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.52e-07/0.8362, allocations: 0 / 0.8172 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005076/0.8367, allocations: 84.09 kB / 0.8173 GB, free: 4.684 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.0001797/0.8369, allocations: 116.1 kB / 0.8174 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.8389, allocations: 0.7004 MB / 0.8181 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.832e-06/0.839, allocations: 4 kB / 0.8181 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.8396, allocations: 183.8 kB / 0.8183 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.84, allocations: 31.89 kB / 0.8183 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.8411, allocations: 437 kB / 0.8187 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.8416, allocations: 0.7289 MB / 0.8195 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.8418, allocations: 25.53 kB / 0.8195 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.8419, allocations: 19.44 kB / 0.8195 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.768e-06/0.8419, allocations: 0 / 0.8195 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.00886/0.8508, allocations: 2.993 MB / 0.8224 GB, free: 15.38 MB / 0.6511 GB