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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.986/3.986, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.213e-05/4.24e-05, allocations: 4.078 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2294, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.4661, allocations: 126.5 MB / 0.7582 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.4665, allocations: 79.95 kB / 0.7583 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.4833, allocations: 3.288 MB / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4834, allocations: 0 / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.4834, allocations: 4 kB / 0.7615 GB, free: 15.86 MB / 0.6511 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.00165/0.4851, allocations: 0.5829 MB / 0.7621 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4851, allocations: 8.031 kB / 0.7621 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.864e-05/0.4852, allocations: 46.55 kB / 0.7621 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.4853, allocations: 23.72 kB / 0.7622 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.4858, allocations: 258.3 kB / 0.7624 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.4858, allocations: 4.234 kB / 0.7624 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.4859, allocations: 12 kB / 0.7624 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.4863, allocations: 186.2 kB / 0.7626 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4864, allocations: 4 kB / 0.7626 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.4864, allocations: 4 kB / 0.7626 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4864, allocations: 4 kB / 0.7626 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.4868, allocations: 100.6 kB / 0.7627 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.4881, allocations: 0.5515 MB / 0.7632 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.4886, allocations: 146.7 kB / 0.7634 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.4889, allocations: 60.86 kB / 0.7634 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.4889, allocations: 4 kB / 0.7635 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.4893, allocations: 131.2 kB / 0.7636 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.406e-06/0.4893, allocations: 4 kB / 0.7636 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005524/0.4899, allocations: 161.4 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.49, allocations: 106.8 kB / 0.7638 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.4903, allocations: 186 kB / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.4903, allocations: 29.7 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4904, allocations: 132 kB / 0.7642 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.4905, allocations: 43.36 kB / 0.7642 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.4906, allocations: 0 / 0.7642 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4907, allocations: 330.8 kB / 0.7645 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.4909, allocations: 59.88 kB / 0.7646 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.4912, allocations: 86.56 kB / 0.7647 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.4914, allocations: 101.5 kB / 0.7648 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4914, allocations: 0 / 0.7648 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005817/0.492, allocations: 243.4 kB / 0.765 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.4921, allocations: 144.4 kB / 0.7651 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4921, allocations: 4 kB / 0.7651 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4922, allocations: 0 / 0.7651 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.4928, allocations: 75.89 kB / 0.7652 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.4928, allocations: 0 / 0.7652 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/0.4935, allocations: 67.94 kB / 0.7653 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.4935, allocations: 4 kB / 0.7653 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4935, allocations: 7.938 kB / 0.7653 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005248/0.4941, allocations: 209.5 kB / 0.7655 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.4941, allocations: 4 kB / 0.7655 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.4941, allocations: 0 / 0.7655 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.4946, allocations: 55.89 kB / 0.7655 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.4946, allocations: 0 / 0.7655 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006162/0.4952, allocations: 63.88 kB / 0.7656 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.4953, allocations: 4 kB / 0.7656 GB, free: 11.36 MB / 0.6511 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 () * 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.0001513/0.4954, allocations: 120.9 kB / 0.7657 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.4955, allocations: 27.72 kB / 0.7657 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.068e-05/0.4956, allocations: 21.64 kB / 0.7658 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4956, allocations: 0 / 0.7658 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4957, allocations: 4 kB / 0.7658 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4957, allocations: 0 / 0.7658 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.4961, allocations: 281.4 kB / 0.766 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4961, allocations: 0 / 0.766 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.4966, allocations: 79.86 kB / 0.7661 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4967, allocations: 0 / 0.7661 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.4967, allocations: 0 / 0.7661 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4967, allocations: 0 / 0.7661 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4967, allocations: 0 / 0.7661 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.4972, allocations: 200.8 kB / 0.7663 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.4973, allocations: 100.9 kB / 0.7664 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.4974, allocations: 4 kB / 0.7664 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.498, allocations: 63.94 kB / 0.7665 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.4982, allocations: 35.89 kB / 0.7665 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.4982, allocations: 7.984 kB / 0.7665 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000208/0.4985, allocations: 156.4 kB / 0.7667 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4985, allocations: 3.938 kB / 0.7667 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005048/0.499, allocations: 71.91 kB / 0.7667 GB, free: 10.11 MB / 0.6511 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) * 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.0009076/0.4999, allocations: 0.7403 MB / 0.7675 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008824/0.5008, allocations: 442.4 kB / 0.7679 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5008, allocations: 0 / 0.7679 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.5011, allocations: 64 kB / 0.7679 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.5015, allocations: 29.11 kB / 0.768 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.5025, allocations: 283.9 kB / 0.7682 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.5028, allocations: 0.733 MB / 0.769 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.5032, allocations: 34.31 kB / 0.769 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.5033, allocations: 51.42 kB / 0.769 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/0.5034, allocations: 4 kB / 0.769 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.5385, allocations: 4.998 MB / 0.7739 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003759/0.539, allocations: 195.7 kB / 0.7741 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/2.982, allocations: 0 / 0.7741 GB, free: 2.488 MB / 0.6511 GB