Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 175.7 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009839/0.000984, allocations: 84.27 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8.906 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2623, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002223/0.2646, allocations: 1.715 MB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2657, allocations: 0.6903 MB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.2658, allocations: 0 / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.2658, allocations: 11.86 kB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.266, allocations: 39.66 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.2664, allocations: 146 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.2666, allocations: 267.2 kB / 0.9043 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2668, allocations: 60.23 kB / 0.9043 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.2669, allocations: 87.69 kB / 0.9044 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.267, allocations: 103.4 kB / 0.9045 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.2671, allocations: 12 kB / 0.9045 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.152e-05/0.2671, allocations: 8 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.2672, allocations: 39.83 kB / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.2673, allocations: 117.2 kB / 0.9047 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.2675, allocations: 191.7 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2675, allocations: 3.938 kB / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2675, allocations: 0 / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.2675, allocations: 4 kB / 0.9049 GB, free: 59.97 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.001215/0.2687, allocations: 0.629 MB / 0.9055 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2688, allocations: 12.03 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.2689, allocations: 24.75 kB / 0.9055 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.2692, allocations: 276.7 kB / 0.9058 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.2692, allocations: 16.38 kB / 0.9058 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.2693, allocations: 12.38 kB / 0.9058 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.2699, allocations: 264.4 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.27, allocations: 7.984 kB / 0.9061 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.27, allocations: 0 / 0.9061 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.27, allocations: 4 kB / 0.9061 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.2708, allocations: 271.7 kB / 0.9063 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.2716, allocations: 0.5235 MB / 0.9068 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2726, allocations: 310.5 kB / 0.9071 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/0.273, allocations: 144.7 kB / 0.9073 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.273, allocations: 4 kB / 0.9073 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005896/0.2736, allocations: 219.1 kB / 0.9075 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2737, allocations: 0 / 0.9075 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001399/0.2751, allocations: 455 kB / 0.9079 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2751, allocations: 59.34 kB / 0.908 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.2753, allocations: 219.2 kB / 0.9082 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2753, allocations: 29.7 kB / 0.9082 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.2754, allocations: 132.2 kB / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2755, allocations: 43.39 kB / 0.9084 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.2755, allocations: 4 kB / 0.9084 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2756, allocations: 330.8 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.276, allocations: 143.9 kB / 0.9088 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.2764, allocations: 139.8 kB / 0.909 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.2773, allocations: 326.4 kB / 0.9093 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2773, allocations: 3.938 kB / 0.9093 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009971/0.2783, allocations: 412.6 kB / 0.9097 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/0.2784, allocations: 149.1 kB / 0.9098 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2784, allocations: 0 / 0.9098 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.2784, allocations: 0 / 0.9098 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.2787, allocations: 63.94 kB / 0.9099 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2788, allocations: 4 kB / 0.9099 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.2791, allocations: 63.78 kB / 0.9099 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.2791, allocations: 4 kB / 0.9099 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-06/0.2791, allocations: 4 kB / 0.9099 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008237/0.2799, allocations: 371.1 kB / 0.9103 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.28, allocations: 0 / 0.9103 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-06/0.28, allocations: 7.938 kB / 0.9103 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.2802, allocations: 55.94 kB / 0.9104 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.2802, allocations: 4 kB / 0.9104 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.2805, allocations: 55.8 kB / 0.9104 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.2805, allocations: 12 kB / 0.9104 GB, free: 53.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.2806, allocations: 207.4 kB / 0.9106 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.2807, allocations: 23.66 kB / 0.9106 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.2808, allocations: 29.52 kB / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2808, allocations: 0 / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2808, allocations: 0 / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.2808, allocations: 0 / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.281, allocations: 273.4 kB / 0.9109 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.281, allocations: 0 / 0.9109 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2813, allocations: 59.94 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2813, allocations: 7.938 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.2813, allocations: 3.984 kB / 0.911 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2813, allocations: 4 kB / 0.911 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2813, allocations: 0 / 0.911 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.2822, allocations: 350.2 kB / 0.9113 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.2823, allocations: 108.7 kB / 0.9114 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.2823, allocations: 7.938 kB / 0.9115 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.2826, allocations: 51.94 kB / 0.9115 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2827, allocations: 27.97 kB / 0.9115 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2827, allocations: 7.984 kB / 0.9115 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001198/0.2829, allocations: 156.6 kB / 0.9117 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2829, allocations: 0 / 0.9117 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002896/0.2832, allocations: 75.84 kB / 0.9118 GB, free: 52.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.2833, allocations: 107.2 kB / 0.9119 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.2847, allocations: 0.6599 MB / 0.9125 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2847, allocations: 4 kB / 0.9125 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.2851, allocations: 159.8 kB / 0.9127 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2855, allocations: 38.56 kB / 0.9127 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008215/0.2863, allocations: 449.7 kB / 0.9131 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.2865, allocations: 0.7287 MB / 0.9138 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.2866, allocations: 27.42 kB / 0.9139 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.2866, allocations: 0 / 0.9139 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.004011/0.2906, allocations: 2.775 MB / 0.9166 GB, free: 47.48 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)