Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.555/1.555, allocations: 288.4 MB / 304.3 MB, free: 7.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000934/0.0009342, allocations: 176.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 0.6316 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007359/0.0007359, allocations: 94.06 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 11.44 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.001576/0.1529, allocations: 1.665 MB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007371/0.1537, allocations: 0.6556 MB / 0.983 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.1538, allocations: 7.938 kB / 0.983 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.1538, allocations: 11.86 kB / 0.983 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1539, allocations: 43.69 kB / 0.9831 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1542, allocations: 113.6 kB / 0.9832 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1544, allocations: 243.2 kB / 0.9834 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1545, allocations: 56.28 kB / 0.9835 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/0.1546, allocations: 91.61 kB / 0.9835 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.1547, allocations: 95.58 kB / 0.9836 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.1548, allocations: 16 kB / 0.9837 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.1548, allocations: 8 kB / 0.9837 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.1548, allocations: 39.83 kB / 0.9837 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.1549, allocations: 109.2 kB / 0.9838 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.155, allocations: 187.7 kB / 0.984 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1551, allocations: 0 / 0.984 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1551, allocations: 4 kB / 0.984 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.1551, allocations: 0 / 0.984 GB, free: 23.99 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009615/0.156, allocations: 0.6307 MB / 0.9846 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1561, allocations: 8.031 kB / 0.9846 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.1561, allocations: 24.66 kB / 0.9846 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1564, allocations: 272.8 kB / 0.9849 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1565, allocations: 12.36 kB / 0.9849 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1565, allocations: 16.38 kB / 0.9849 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.1571, allocations: 264.9 kB / 0.9852 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1571, allocations: 0 / 0.9852 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1571, allocations: 7.938 kB / 0.9852 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1571, allocations: 4 kB / 0.9852 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008245/0.1579, allocations: 279.7 kB / 0.9855 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.1585, allocations: 0.5157 MB / 0.986 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.1595, allocations: 314.5 kB / 0.9863 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.16, allocations: 152.7 kB / 0.9864 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.16, allocations: 0 / 0.9864 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.1605, allocations: 223 kB / 0.9866 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.1605, allocations: 0 / 0.9866 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0013/0.1618, allocations: 457.1 kB / 0.987 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/0.1619, allocations: 59.39 kB / 0.9871 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.162, allocations: 215.1 kB / 0.9873 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.162, allocations: 29.7 kB / 0.9873 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.1621, allocations: 140.2 kB / 0.9875 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1621, allocations: 39.45 kB / 0.9875 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.1621, allocations: 8 kB / 0.9875 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.1622, allocations: 326.8 kB / 0.9878 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.1626, allocations: 139.9 kB / 0.988 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.1631, allocations: 135.9 kB / 0.9881 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.1638, allocations: 318.3 kB / 0.9884 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1638, allocations: 0 / 0.9884 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009034/0.1648, allocations: 417.8 kB / 0.9888 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.1648, allocations: 145.2 kB / 0.9889 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1648, allocations: 4 kB / 0.9889 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1648, allocations: 0 / 0.9889 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.1651, allocations: 63.88 kB / 0.989 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1651, allocations: 0 / 0.989 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.1654, allocations: 59.78 kB / 0.9891 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1654, allocations: 8 kB / 0.9891 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/0.1654, allocations: 4 kB / 0.9891 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007947/0.1662, allocations: 367.1 kB / 0.9894 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.1663, allocations: 3.938 kB / 0.9894 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-06/0.1663, allocations: 7.922 kB / 0.9894 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.1665, allocations: 59.89 kB / 0.9895 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.1665, allocations: 4 kB / 0.9895 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.1668, allocations: 51.8 kB / 0.9895 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1668, allocations: 8 kB / 0.9895 GB, free: 17.99 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 8.883e-05/0.1669, allocations: 217 kB / 0.9898 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1669, allocations: 19.81 kB / 0.9898 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/0.167, allocations: 21.47 kB / 0.9898 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.167, allocations: 3.984 kB / 0.9898 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.167, allocations: 0 / 0.9898 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.167, allocations: 96.83 kB / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.1671, allocations: 7.938 kB / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.1673, allocations: 51.94 kB / 0.9899 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.1674, allocations: 27.95 kB / 0.99 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001254/0.1687, allocations: 449.6 kB / 0.9904 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001084/0.1698, allocations: 0.4926 MB / 0.9909 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005237/0.1703, allocations: 151.8 kB / 0.991 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001063/0.1704, allocations: 152.7 kB / 0.9912 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of Backend: time 3.21e-07/0.1704, allocations: 0 / 0.9912 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.1719, allocations: 0.612 MB / 0.9918 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006453/0.1726, allocations: 0.8156 MB / 0.9926 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.005928/0.1785, allocations: 3.713 MB / 0.9962 GB, free: 11.09 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)