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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0113/0.0113, allocations: 112.1 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001265/0.001265, allocations: 179.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.123/2.123, allocations: 194.5 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.333/2.333, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.000472, allocations: 8 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6791, allocations: 98.72 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002496/0.6817, allocations: 1.581 MB / 0.685 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.683, allocations: 0.5896 MB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.6831, allocations: 2.688 kB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.6832, allocations: 16.14 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.6834, allocations: 45.23 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.6839, allocations: 100.9 kB / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.6842, allocations: 148.2 kB / 0.6859 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.6844, allocations: 47.97 kB / 0.6859 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.6845, allocations: 88.52 kB / 0.686 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.6847, allocations: 99.3 kB / 0.6861 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/0.6848, allocations: 9.938 kB / 0.6861 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.6849, allocations: 12.53 kB / 0.6861 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.6849, allocations: 32.52 kB / 0.6861 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.685, allocations: 61.98 kB / 0.6862 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.6853, allocations: 173.2 kB / 0.6864 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6853, allocations: 5.156 kB / 0.6864 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6853, allocations: 0 / 0.6864 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6854, allocations: 0 / 0.6864 GB, free: 14.91 MB / 0.5261 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.001782/0.6871, allocations: 0.6288 MB / 0.687 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6872, allocations: 8.906 kB / 0.687 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.6873, allocations: 45.8 kB / 0.687 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/0.6874, allocations: 24.3 kB / 0.6871 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.6879, allocations: 257.4 kB / 0.6873 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.688, allocations: 14.92 kB / 0.6873 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.688, allocations: 13.88 kB / 0.6873 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.6892, allocations: 257.9 kB / 0.6876 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6892, allocations: 0 / 0.6876 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.6892, allocations: 1.922 kB / 0.6876 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.6892, allocations: 3.875 kB / 0.6876 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.6909, allocations: 278.3 kB / 0.6878 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.692, allocations: 0.4978 MB / 0.6883 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.6939, allocations: 316.1 kB / 0.6886 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.694, allocations: 1.031 kB / 0.6886 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.695, allocations: 222.5 kB / 0.6888 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/0.6951, allocations: 0 / 0.6888 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.002715/0.6978, allocations: 453.7 kB / 0.6893 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.6978, allocations: 58.69 kB / 0.6893 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.6982, allocations: 211.1 kB / 0.6895 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.6982, allocations: 32.47 kB / 0.6896 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.6983, allocations: 126.9 kB / 0.6897 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.6984, allocations: 44.66 kB / 0.6897 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.6984, allocations: 1.531 kB / 0.6897 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.6985, allocations: 338.7 kB / 0.6901 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/0.6994, allocations: 134.5 kB / 0.6902 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008699/0.7003, allocations: 134.7 kB / 0.6903 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.7011, allocations: 190.7 kB / 0.6905 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7012, allocations: 0 / 0.6905 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001892/0.7031, allocations: 414.8 kB / 0.6909 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-05/0.7032, allocations: 154.1 kB / 0.691 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7032, allocations: 0 / 0.691 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7032, allocations: 5.969 kB / 0.691 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.7037, allocations: 66.64 kB / 0.6911 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.7038, allocations: 1.781 kB / 0.6911 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.7044, allocations: 58.17 kB / 0.6912 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.7044, allocations: 5.469 kB / 0.6912 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.7044, allocations: 5.688 kB / 0.6912 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/0.7061, allocations: 368.9 kB / 0.6915 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7061, allocations: 4.688 kB / 0.6915 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-06/0.7061, allocations: 1.594 kB / 0.6915 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.7066, allocations: 62.91 kB / 0.6916 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7066, allocations: 1.219 kB / 0.6916 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.7071, allocations: 53.02 kB / 0.6916 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.7072, allocations: 8.172 kB / 0.6916 GB, free: 11.91 MB / 0.5261 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.0001891/0.7074, allocations: 206.6 kB / 0.6918 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.7074, allocations: 21.77 kB / 0.6919 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/0.7075, allocations: 24.52 kB / 0.6919 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7075, allocations: 6.094 kB / 0.6919 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7075, allocations: 0 / 0.6919 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7075, allocations: 0.7031 kB / 0.6919 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.7079, allocations: 271.6 kB / 0.6922 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7079, allocations: 1.062 kB / 0.6922 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.7084, allocations: 62.56 kB / 0.6922 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.7084, allocations: 1.031 kB / 0.6922 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.7085, allocations: 2.406 kB / 0.6922 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.7085, allocations: 1.859 kB / 0.6922 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7085, allocations: 0 / 0.6922 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.7103, allocations: 358.5 kB / 0.6926 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.7104, allocations: 99.89 kB / 0.6927 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.7104, allocations: 2.359 kB / 0.6927 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.711, allocations: 49.75 kB / 0.6927 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.7111, allocations: 29.95 kB / 0.6927 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.7112, allocations: 9.438 kB / 0.6927 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000194/0.7114, allocations: 156.8 kB / 0.6929 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7114, allocations: 3.938 kB / 0.6929 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005223/0.7119, allocations: 69.39 kB / 0.693 GB, free: 11.07 MB / 0.5261 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.002045/0.714, allocations: 0.9016 MB / 0.6938 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.7168, allocations: 0.6534 MB / 0.6945 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7168, allocations: 0 / 0.6945 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009105/0.7177, allocations: 161.5 kB / 0.6946 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.7181, allocations: 30.88 kB / 0.6947 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.7231, allocations: 1.396 MB / 0.696 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.7234, allocations: 0.7328 MB / 0.6967 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.7237, allocations: 23 kB / 0.6968 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.7239, allocations: 55.77 kB / 0.6968 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.7239, allocations: 0 / 0.6968 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.7506, allocations: 4.419 MB / 0.7011 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.7509, allocations: 230 kB / 0.7014 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/3.572, allocations: 3.438 kB / 0.7014 GB, free: 6.441 MB / 0.5261 GB