Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadModel(Buildings): time 3.873/3.873, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.83e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.509, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.703, allocations: 125.8 MB / 0.7518 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.7033, allocations: 79.89 kB / 0.7518 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.7179, allocations: 3.271 MB / 0.755 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.43e-06/0.718, allocations: 7.938 kB / 0.755 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.718, allocations: 4 kB / 0.7551 GB, free: 14.38 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.001301/0.7193, allocations: 0.577 MB / 0.7556 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7194, allocations: 15.95 kB / 0.7556 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.7195, allocations: 23.72 kB / 0.7557 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.7199, allocations: 254.4 kB / 0.7559 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.72, allocations: 4 kB / 0.7559 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.72, allocations: 8 kB / 0.7559 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003293/0.7204, allocations: 100.4 kB / 0.756 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.7208, allocations: 158.8 kB / 0.7562 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.7208, allocations: 0 / 0.7562 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.7208, allocations: 0 / 0.7562 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.907e-06/0.7209, allocations: 4 kB / 0.7562 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.722, allocations: 0.5092 MB / 0.7567 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.7225, allocations: 146.7 kB / 0.7568 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.7227, allocations: 56.86 kB / 0.7568 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.7227, allocations: 0 / 0.7568 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.7231, allocations: 131.3 kB / 0.757 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.778e-06/0.7231, allocations: 3.938 kB / 0.757 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004863/0.7236, allocations: 157.4 kB / 0.7571 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.7237, allocations: 106.8 kB / 0.7572 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.7239, allocations: 162.1 kB / 0.7574 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.724, allocations: 29.7 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.7241, allocations: 132.3 kB / 0.7575 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/0.7242, allocations: 51.36 kB / 0.7576 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.7242, allocations: 0 / 0.7576 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.7244, allocations: 322.8 kB / 0.7579 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.7245, allocations: 52 kB / 0.7579 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.7247, allocations: 81.31 kB / 0.758 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.7249, allocations: 47.92 kB / 0.7581 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.06e-06/0.7249, allocations: 4 kB / 0.7581 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004932/0.7254, allocations: 165.5 kB / 0.7582 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.7256, allocations: 159.8 kB / 0.7584 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.7256, allocations: 0 / 0.7584 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7256, allocations: 4 kB / 0.7584 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.726, allocations: 71.94 kB / 0.7585 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.125e-06/0.7261, allocations: 0 / 0.7585 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.7265, allocations: 71.77 kB / 0.7585 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.7266, allocations: 11.98 kB / 0.7585 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.7266, allocations: 7.938 kB / 0.7585 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003969/0.727, allocations: 127.9 kB / 0.7587 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.785e-06/0.727, allocations: 4 kB / 0.7587 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-06/0.727, allocations: 0 / 0.7587 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.7274, allocations: 67.88 kB / 0.7587 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.273e-06/0.7274, allocations: 0 / 0.7587 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.7278, allocations: 55.8 kB / 0.7588 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.7278, allocations: 4 kB / 0.7588 GB, free: 10.28 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.0001484/0.728, allocations: 121.1 kB / 0.7589 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.728, allocations: 19.8 kB / 0.7589 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.326e-05/0.7281, allocations: 17.97 kB / 0.7589 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.7281, allocations: 0 / 0.7589 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.455e-06/0.7282, allocations: 0 / 0.7589 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.151e-06/0.7282, allocations: 7.922 kB / 0.7589 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.7285, allocations: 249.9 kB / 0.7592 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.159e-06/0.7285, allocations: 0 / 0.7592 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.7289, allocations: 71.89 kB / 0.7593 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-06/0.729, allocations: 8 kB / 0.7593 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.729, allocations: 3.984 kB / 0.7593 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.81e-06/0.729, allocations: 0 / 0.7593 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-06/0.729, allocations: 0 / 0.7593 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.7295, allocations: 176.8 kB / 0.7594 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.7296, allocations: 92.91 kB / 0.7595 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.7296, allocations: 7.953 kB / 0.7595 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.73, allocations: 63.94 kB / 0.7596 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.7302, allocations: 31.89 kB / 0.7596 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.7302, allocations: 7.984 kB / 0.7596 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001653/0.7304, allocations: 140.3 kB / 0.7598 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.75e-07/0.7304, allocations: 0 / 0.7598 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005435/0.731, allocations: 68.09 kB / 0.7598 GB, free: 9.141 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.0001862/0.7312, allocations: 115.2 kB / 0.7599 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007406/0.7319, allocations: 418.8 kB / 0.7603 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.749e-06/0.732, allocations: 4 kB / 0.7603 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.7322, allocations: 67.88 kB / 0.7604 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.7325, allocations: 31.92 kB / 0.7604 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.7332, allocations: 213.9 kB / 0.7606 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.7336, allocations: 0.7367 MB / 0.7614 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000238/0.7339, allocations: 30.09 kB / 0.7614 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.734, allocations: 15.44 kB / 0.7614 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of SimCode: time 1.699e-06/0.734, allocations: 0 / 0.7614 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of Templates: time 0.008844/0.7428, allocations: 2.965 MB / 0.7643 GB, free: 4.473 MB / 0.6355 GB