Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 297.4 MB / 312.6 MB, free: 2.949 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 182 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008136, allocations: 93.2 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 8 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6575/0.658, allocations: 119.2 MB / 1.022 GB, free: 58.91 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002168/0.6602, allocations: 1.666 MB / 1.024 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.6612, allocations: 0.7682 MB / 1.025 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.808e-05/0.6613, allocations: 6.906 kB / 1.025 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.6614, allocations: 11.53 kB / 1.025 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.6615, allocations: 42.42 kB / 1.025 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.6619, allocations: 142.7 kB / 1.025 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.6621, allocations: 270.4 kB / 1.025 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.6623, allocations: 60.27 kB / 1.025 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.6624, allocations: 85.78 kB / 1.025 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.6626, allocations: 108 kB / 1.025 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.6626, allocations: 9.625 kB / 1.025 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.033e-05/0.6627, allocations: 10.62 kB / 1.025 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.6627, allocations: 37.44 kB / 1.025 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.6628, allocations: 112.6 kB / 1.026 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.6631, allocations: 240.5 kB / 1.026 GB, free: 57.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6631, allocations: 0 / 1.026 GB, free: 57.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6632, allocations: 3.938 kB / 1.026 GB, free: 57.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.6632, allocations: 1.625 kB / 1.026 GB, free: 57.03 MB / 0.698 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.001087/0.6643, allocations: 0.6279 MB / 1.026 GB, free: 56.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6643, allocations: 8.188 kB / 1.026 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.6644, allocations: 24.97 kB / 1.026 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.6647, allocations: 269.7 kB / 1.027 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.6647, allocations: 13.78 kB / 1.027 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.6648, allocations: 15.62 kB / 1.027 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.6654, allocations: 272.4 kB / 1.027 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6654, allocations: 1.25 kB / 1.027 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.6654, allocations: 5.031 kB / 1.027 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.6655, allocations: 3.719 kB / 1.027 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008485/0.6663, allocations: 276 kB / 1.027 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.6671, allocations: 0.5136 MB / 1.028 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009696/0.668, allocations: 307.1 kB / 1.028 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.6685, allocations: 149.6 kB / 1.028 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.6685, allocations: 7.172 kB / 1.028 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.6691, allocations: 216.7 kB / 1.028 GB, free: 55.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/0.6691, allocations: 0 / 1.028 GB, free: 55.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001343/0.6704, allocations: 449.7 kB / 1.029 GB, free: 55.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.6705, allocations: 63.11 kB / 1.029 GB, free: 55.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.6707, allocations: 209.2 kB / 1.029 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.6707, allocations: 32.08 kB / 1.029 GB, free: 55.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.6708, allocations: 126.7 kB / 1.029 GB, free: 55.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.6708, allocations: 41.72 kB / 1.029 GB, free: 55.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.6709, allocations: 5.469 kB / 1.029 GB, free: 55.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.6709, allocations: 328.5 kB / 1.03 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.6714, allocations: 140 kB / 1.03 GB, free: 54.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.6718, allocations: 144.1 kB / 1.03 GB, free: 54.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/0.6726, allocations: 323.3 kB / 1.03 GB, free: 54.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6726, allocations: 0 / 1.03 GB, free: 54.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009336/0.6735, allocations: 412 kB / 1.031 GB, free: 54.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/0.6736, allocations: 160 kB / 1.031 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6736, allocations: 0 / 1.031 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.6736, allocations: 1.031 kB / 1.031 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.6739, allocations: 61.64 kB / 1.031 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6739, allocations: 1.312 kB / 1.031 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.6742, allocations: 57.08 kB / 1.031 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.6743, allocations: 5.688 kB / 1.031 GB, free: 54.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.6743, allocations: 1.625 kB / 1.031 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008312/0.6751, allocations: 367.5 kB / 1.031 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.6751, allocations: 3.938 kB / 1.031 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.6751, allocations: 5.719 kB / 1.031 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.6754, allocations: 53.97 kB / 1.031 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.6754, allocations: 7.906 kB / 1.031 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.6756, allocations: 52.53 kB / 1.031 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.6756, allocations: 8.312 kB / 1.031 GB, free: 54.03 MB / 0.698 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.0001248/0.6758, allocations: 208.9 kB / 1.031 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.6758, allocations: 24.98 kB / 1.032 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.6759, allocations: 20.5 kB / 1.032 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6759, allocations: 7.422 kB / 1.032 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6759, allocations: 0 / 1.032 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6759, allocations: 0.7031 kB / 1.032 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.6761, allocations: 273.2 kB / 1.032 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6761, allocations: 0.5625 kB / 1.032 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.6764, allocations: 63.28 kB / 1.032 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6764, allocations: 5.625 kB / 1.032 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.6764, allocations: 8.359 kB / 1.032 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6764, allocations: 0 / 1.032 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6764, allocations: 1.078 kB / 1.032 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.6773, allocations: 356.7 kB / 1.032 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.6774, allocations: 101.5 kB / 1.032 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.6774, allocations: 11.17 kB / 1.032 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.6777, allocations: 49.55 kB / 1.032 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.6778, allocations: 26.23 kB / 1.032 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.6778, allocations: 3.906 kB / 1.032 GB, free: 53.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001156/0.6779, allocations: 156.2 kB / 1.033 GB, free: 53.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6779, allocations: 3.969 kB / 1.033 GB, free: 53.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002915/0.6782, allocations: 70.5 kB / 1.033 GB, free: 53.18 MB / 0.698 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.000124/0.6783, allocations: 114.8 kB / 1.033 GB, free: 53.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.6797, allocations: 0.66 MB / 1.033 GB, free: 52.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6798, allocations: 3.656 kB / 1.033 GB, free: 52.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.6802, allocations: 152.2 kB / 1.034 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.6805, allocations: 40.23 kB / 1.034 GB, free: 52.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.6813, allocations: 412.7 kB / 1.034 GB, free: 52.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.6815, allocations: 0.7379 MB / 1.035 GB, free: 51.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.6816, allocations: 22.7 kB / 1.035 GB, free: 51.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.6817, allocations: 23 kB / 1.035 GB, free: 51.69 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6817, allocations: 1.062 kB / 1.035 GB, free: 51.69 MB / 0.698 GB Notification: Performance of Templates: time 0.005735/0.6875, allocations: 2.863 MB / 1.038 GB, free: 51.5 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)