Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.716/2.716, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001562, allocations: 188.3 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.688/2.688, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 98.86 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006782/0.0006784, allocations: 12.22 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2553, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002437/0.2578, allocations: 1.638 MB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2592, allocations: 0.6596 MB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.2594, allocations: 4 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.2595, allocations: 11.86 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.2597, allocations: 39.86 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.2602, allocations: 126.1 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.2605, allocations: 159.7 kB / 0.9015 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2607, allocations: 56.45 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.2609, allocations: 83.69 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.261, allocations: 95.56 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.2611, allocations: 15.94 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.2611, allocations: 8 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.2612, allocations: 39.83 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.2613, allocations: 57.58 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.2615, allocations: 195.8 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2615, allocations: 0 / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2616, allocations: 0 / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2616, allocations: 4 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00178/0.2634, allocations: 0.6227 MB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2634, allocations: 16.03 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2635, allocations: 23.77 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.2641, allocations: 267.6 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.2641, allocations: 11.98 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.2642, allocations: 12 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2653, allocations: 260.1 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2653, allocations: 0 / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.2654, allocations: 4 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2654, allocations: 7.938 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.2669, allocations: 271.8 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.268, allocations: 0.5235 MB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2699, allocations: 322.4 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.27, allocations: 0 / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.271, allocations: 208.9 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.906e-06/0.271, allocations: 3.938 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.002579/0.2736, allocations: 467.3 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.2737, allocations: 59.39 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.274, allocations: 211.2 kB / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.274, allocations: 29.7 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.2741, allocations: 132.3 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.2742, allocations: 43.36 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.2742, allocations: 4 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.2743, allocations: 342.8 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/0.2751, allocations: 135.9 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007845/0.2759, allocations: 131.9 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.2768, allocations: 188.2 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2768, allocations: 0 / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001793/0.2786, allocations: 415.4 kB / 0.9065 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.2787, allocations: 147 kB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2787, allocations: 0 / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.2788, allocations: 11.88 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.2793, allocations: 59.94 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2793, allocations: 0 / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.2799, allocations: 55.88 kB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.2799, allocations: 4 kB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2799, allocations: 11.95 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/0.2815, allocations: 363.1 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2816, allocations: 0 / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.2816, allocations: 4 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.282, allocations: 63.88 kB / 0.9072 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.282, allocations: 3.984 kB / 0.9072 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.2826, allocations: 51.8 kB / 0.9073 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.2826, allocations: 11.95 kB / 0.9073 GB, free: 56.57 MB / 0.6042 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.0001921/0.2828, allocations: 209.1 kB / 0.9075 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.2829, allocations: 19.8 kB / 0.9075 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.2829, allocations: 21.53 kB / 0.9075 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.283, allocations: 0 / 0.9075 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.283, allocations: 7.938 kB / 0.9075 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.283, allocations: 3.984 kB / 0.9075 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.2833, allocations: 273.5 kB / 0.9078 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2833, allocations: 3.938 kB / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.2838, allocations: 59.94 kB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2838, allocations: 0 / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.2838, allocations: 8 kB / 0.9078 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2838, allocations: 0 / 0.9078 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2838, allocations: 0 / 0.9078 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.2855, allocations: 364.5 kB / 0.9082 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.2856, allocations: 92.86 kB / 0.9083 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.2857, allocations: 7.938 kB / 0.9083 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/0.2862, allocations: 55.94 kB / 0.9083 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.2864, allocations: 27.95 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.2864, allocations: 4 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001791/0.2866, allocations: 155.2 kB / 0.9085 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2866, allocations: 0 / 0.9085 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004745/0.2871, allocations: 71.84 kB / 0.9086 GB, free: 55.12 MB / 0.6042 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.0001284/0.2872, allocations: 103.2 kB / 0.9087 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002589/0.2898, allocations: 0.6652 MB / 0.9093 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2899, allocations: 0 / 0.9093 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000857/0.2908, allocations: 147.8 kB / 0.9095 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.2912, allocations: 40.58 kB / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2924, allocations: 418.6 kB / 0.9099 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.2926, allocations: 0.7367 MB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.2929, allocations: 21.55 kB / 0.9107 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.293, allocations: 23.42 kB / 0.9107 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.293, allocations: 0 / 0.9107 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.008351/0.3014, allocations: 2.768 MB / 0.9134 GB, free: 50.15 MB / 0.6042 GB