Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01042/0.01042, allocations: 88.89 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001196/0.001197, allocations: 172.1 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.387/2.387, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.374/2.374, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006015/0.0006017, allocations: 13.88 kB / 0.6243 GB, free: 20.97 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2542, allocations: 106.2 MB / 0.7281 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00289/0.2571, allocations: 1.645 MB / 0.7297 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2587, allocations: 0.6481 MB / 0.7303 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2588, allocations: 4 kB / 0.7303 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.2589, allocations: 11.86 kB / 0.7303 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.2591, allocations: 47.83 kB / 0.7304 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.2596, allocations: 115.7 kB / 0.7305 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.26, allocations: 171.6 kB / 0.7306 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.2602, allocations: 48.47 kB / 0.7307 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.2603, allocations: 83.73 kB / 0.7308 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.2606, allocations: 103.5 kB / 0.7309 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.2606, allocations: 12 kB / 0.7309 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.923e-05/0.2607, allocations: 11.94 kB / 0.7309 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.2607, allocations: 39.88 kB / 0.7309 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.2608, allocations: 57.58 kB / 0.731 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.2612, allocations: 183.8 kB / 0.7312 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2612, allocations: 0 / 0.7312 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2612, allocations: 4 kB / 0.7312 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2612, allocations: 0 / 0.7312 GB, free: 4.918 MB / 0.5573 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.001941/0.2632, allocations: 0.6345 MB / 0.7318 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.2632, allocations: 12.03 kB / 0.7318 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.352e-05/0.2633, allocations: 42.55 kB / 0.7318 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.2634, allocations: 27.67 kB / 0.7319 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/0.264, allocations: 263.7 kB / 0.7321 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2641, allocations: 8 kB / 0.7321 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.2641, allocations: 16 kB / 0.7321 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.2653, allocations: 260 kB / 0.7324 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2653, allocations: 4 kB / 0.7324 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.2654, allocations: 4 kB / 0.7324 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2654, allocations: 4 kB / 0.7324 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.2671, allocations: 275.7 kB / 0.7327 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2683, allocations: 0.5196 MB / 0.7332 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.2703, allocations: 330.4 kB / 0.7335 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.2703, allocations: 3.984 kB / 0.7335 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.2714, allocations: 217.3 kB / 0.7337 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 3.607e-06/0.2714, allocations: 0 / 0.7337 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.002725/0.2741, allocations: 465 kB / 0.7341 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.2742, allocations: 51.41 kB / 0.7342 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.2746, allocations: 215.2 kB / 0.7344 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.2746, allocations: 29.7 kB / 0.7344 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2747, allocations: 136.2 kB / 0.7345 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.2748, allocations: 39.45 kB / 0.7346 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.2749, allocations: 8 kB / 0.7346 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.275, allocations: 330.8 kB / 0.7349 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/0.2759, allocations: 139.9 kB / 0.735 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/0.2767, allocations: 131.9 kB / 0.7352 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.2776, allocations: 191.2 kB / 0.7354 GB, free: 376 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2776, allocations: 0 / 0.7354 GB, free: 376 kB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001913/0.2796, allocations: 415.8 kB / 0.7357 GB, free: 15.95 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2797, allocations: 145.2 kB / 0.7359 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2797, allocations: 0 / 0.7359 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.2797, allocations: 11.92 kB / 0.7359 GB, free: 15.77 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.2803, allocations: 55.95 kB / 0.736 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2803, allocations: 0 / 0.736 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.2809, allocations: 67.72 kB / 0.736 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.2809, allocations: 7.953 kB / 0.736 GB, free: 15.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.281, allocations: 4 kB / 0.736 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001668/0.2826, allocations: 363.2 kB / 0.7364 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.2826, allocations: 0 / 0.7364 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-06/0.2827, allocations: 4 kB / 0.7364 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.2831, allocations: 51.95 kB / 0.7364 GB, free: 15.22 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2831, allocations: 4 kB / 0.7364 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.2836, allocations: 55.81 kB / 0.7365 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.2837, allocations: 8 kB / 0.7365 GB, free: 15.15 MB / 0.573 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.0002278/0.2839, allocations: 209 kB / 0.7367 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.284, allocations: 15.81 kB / 0.7367 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.2841, allocations: 25.53 kB / 0.7367 GB, free: 14.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.2841, allocations: 0 / 0.7367 GB, free: 14.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2841, allocations: 7.922 kB / 0.7367 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2841, allocations: 3.953 kB / 0.7367 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.2845, allocations: 277.3 kB / 0.737 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2845, allocations: 4 kB / 0.737 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.285, allocations: 59.94 kB / 0.7371 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2851, allocations: 4 kB / 0.7371 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.2851, allocations: 0 / 0.7371 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.2851, allocations: 7.922 kB / 0.7371 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2851, allocations: 4 kB / 0.7371 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.2869, allocations: 362.1 kB / 0.7374 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.2871, allocations: 88.92 kB / 0.7375 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.2871, allocations: 4 kB / 0.7375 GB, free: 14.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.2877, allocations: 51.94 kB / 0.7376 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2878, allocations: 31.95 kB / 0.7376 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.2879, allocations: 7.984 kB / 0.7376 GB, free: 13.92 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002175/0.2881, allocations: 151.2 kB / 0.7377 GB, free: 13.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2881, allocations: 0 / 0.7377 GB, free: 13.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004868/0.2886, allocations: 71.84 kB / 0.7378 GB, free: 13.7 MB / 0.573 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.002213/0.2908, allocations: 0.9048 MB / 0.7387 GB, free: 12.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002756/0.2936, allocations: 0.6603 MB / 0.7393 GB, free: 12.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2936, allocations: 0 / 0.7393 GB, free: 12.06 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008957/0.2945, allocations: 147.8 kB / 0.7395 GB, free: 11.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.2949, allocations: 44.58 kB / 0.7395 GB, free: 11.87 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.3001, allocations: 1.423 MB / 0.7409 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3005, allocations: 0.7289 MB / 0.7416 GB, free: 9.656 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.3007, allocations: 29.53 kB / 0.7417 GB, free: 9.625 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.301, allocations: 63.34 kB / 0.7417 GB, free: 9.566 MB / 0.573 GB Notification: Performance of SimCode: time 1.012e-06/0.301, allocations: 4 kB / 0.7417 GB, free: 9.562 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.3344, allocations: 4.637 MB / 0.7462 GB, free: 5.062 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/0.3348, allocations: 221.9 kB / 0.7465 GB, free: 4.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/2.991, allocations: 0 / 0.7465 GB, free: 4.82 MB / 0.573 GB