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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.286/4.286, allocations: 433.2 MB / 440.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.332e-05, allocations: 0 / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6792, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2852/0.9645, allocations: 125.8 MB / 0.7518 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/0.965, allocations: 75.95 kB / 0.7518 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.9813, allocations: 3.264 MB / 0.755 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9813, allocations: 0 / 0.755 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.042e-05/0.9814, allocations: 4 kB / 0.755 GB, free: 14.42 MB / 0.6355 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.001731/0.9831, allocations: 0.5849 MB / 0.7556 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/0.9832, allocations: 8.031 kB / 0.7556 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.9834, allocations: 23.72 kB / 0.7556 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.9839, allocations: 254.3 kB / 0.7559 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.9839, allocations: 4 kB / 0.7559 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.984, allocations: 8 kB / 0.7559 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003673/0.9843, allocations: 96.45 kB / 0.756 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.9848, allocations: 170 kB / 0.7561 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.9848, allocations: 0 / 0.7561 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.9849, allocations: 3.984 kB / 0.7561 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.9849, allocations: 4 kB / 0.7561 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.9862, allocations: 0.5053 MB / 0.7566 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.9867, allocations: 150.7 kB / 0.7568 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.9869, allocations: 52.86 kB / 0.7568 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.987, allocations: 4 kB / 0.7568 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.9874, allocations: 127.2 kB / 0.757 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 4.328e-06/0.9874, allocations: 4 kB / 0.757 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005655/0.988, allocations: 149.5 kB / 0.7571 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.9881, allocations: 110.8 kB / 0.7572 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.9884, allocations: 170 kB / 0.7574 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.9885, allocations: 29.7 kB / 0.7574 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.9886, allocations: 128.4 kB / 0.7575 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.9887, allocations: 47.31 kB / 0.7576 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.9887, allocations: 0 / 0.7576 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9889, allocations: 330.8 kB / 0.7579 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.9891, allocations: 48 kB / 0.7579 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.9893, allocations: 86.5 kB / 0.758 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.9895, allocations: 51.92 kB / 0.7581 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.9895, allocations: 0 / 0.7581 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005475/0.99, allocations: 173.4 kB / 0.7582 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.9902, allocations: 148.3 kB / 0.7584 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.9902, allocations: 4 kB / 0.7584 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.9902, allocations: 0 / 0.7584 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.9908, allocations: 75.91 kB / 0.7584 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.9909, allocations: 0 / 0.7584 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.9915, allocations: 71.78 kB / 0.7585 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.9916, allocations: 7.984 kB / 0.7585 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.9916, allocations: 4 kB / 0.7585 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004598/0.9921, allocations: 129.8 kB / 0.7586 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.9921, allocations: 0 / 0.7586 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.9921, allocations: 4 kB / 0.7586 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.9926, allocations: 55.95 kB / 0.7587 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.9926, allocations: 3.938 kB / 0.7587 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.9932, allocations: 55.84 kB / 0.7588 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.9932, allocations: 8 kB / 0.7588 GB, free: 10.32 MB / 0.6355 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.0001732/0.9934, allocations: 114.8 kB / 0.7589 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004442/0.9939, allocations: 149.5 kB / 0.759 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.9939, allocations: 19.81 kB / 0.759 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.989e-05/0.994, allocations: 25.97 kB / 0.7591 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.9941, allocations: 0 / 0.7591 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.9941, allocations: 0 / 0.7591 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.9941, allocations: 3.984 kB / 0.7591 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.9945, allocations: 249.9 kB / 0.7593 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.9945, allocations: 0 / 0.7593 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.995, allocations: 71.94 kB / 0.7594 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.995, allocations: 3.938 kB / 0.7594 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.9951, allocations: 7.984 kB / 0.7594 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.9951, allocations: 4 kB / 0.7594 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9951, allocations: 0 / 0.7594 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.9956, allocations: 184.8 kB / 0.7596 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.9957, allocations: 92.86 kB / 0.7597 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.9958, allocations: 4 kB / 0.7597 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/0.9964, allocations: 59.94 kB / 0.7597 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.9966, allocations: 31.94 kB / 0.7597 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.9966, allocations: 11.88 kB / 0.7598 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001759/0.9968, allocations: 140.3 kB / 0.7599 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9968, allocations: 0 / 0.7599 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005181/0.9973, allocations: 67.84 kB / 0.76 GB, free: 9.02 MB / 0.6355 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.000828/0.9982, allocations: 0.7374 MB / 0.7607 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.999, allocations: 418.8 kB / 0.7611 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.999, allocations: 0 / 0.7611 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.9992, allocations: 64 kB / 0.7611 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.9997, allocations: 23.98 kB / 0.7612 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/1.001, allocations: 267.4 kB / 0.7614 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/1.001, allocations: 0.7328 MB / 0.7621 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002833/1.001, allocations: 34.09 kB / 0.7622 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/1.001, allocations: 55.42 kB / 0.7622 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of SimCode: time 2.766e-06/1.001, allocations: 0 / 0.7622 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04607/1.048, allocations: 4.363 MB / 0.7665 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/1.048, allocations: 184.6 kB / 0.7667 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.566, allocations: 0 / 0.7667 GB, free: 2.023 MB / 0.6355 GB