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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009305/0.009309, allocations: 108.2 kB / 15.06 MB, free: 6.039 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.001453/0.001452, allocations: 180.1 kB / 15.95 MB, free: 5.957 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 1.906/1.906, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.198/2.198, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004717, allocations: 11.98 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.582, allocations: 98.7 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002074/0.5841, allocations: 1.588 MB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.5852, allocations: 0.5934 MB / 0.6855 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.5854, allocations: 6.625 kB / 0.6855 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.5855, allocations: 12.23 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.5857, allocations: 44.06 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007914/0.5865, allocations: 102.3 kB / 0.6856 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.5869, allocations: 148.6 kB / 0.6858 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.5872, allocations: 56.67 kB / 0.6858 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.5875, allocations: 82.91 kB / 0.6859 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.5879, allocations: 99.27 kB / 0.686 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.25e-05/0.588, allocations: 9.625 kB / 0.686 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.5881, allocations: 9.375 kB / 0.686 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.5882, allocations: 36.92 kB / 0.6861 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.5883, allocations: 53.58 kB / 0.6861 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.5889, allocations: 178.4 kB / 0.6863 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.135e-06/0.5889, allocations: 3.938 kB / 0.6863 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.867e-06/0.5889, allocations: 0 / 0.6863 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.5889, allocations: 0 / 0.6863 GB, free: 14.77 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.002523/0.5915, allocations: 0.6248 MB / 0.6869 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.5916, allocations: 9.375 kB / 0.6869 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.5918, allocations: 31.52 kB / 0.6869 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.5926, allocations: 254.9 kB / 0.6872 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.5927, allocations: 9.016 kB / 0.6872 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.5928, allocations: 13.77 kB / 0.6872 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.5945, allocations: 254.2 kB / 0.6874 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5945, allocations: 1.125 kB / 0.6874 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.5946, allocations: 9.062 kB / 0.6874 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.5947, allocations: 4.172 kB / 0.6874 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.5969, allocations: 270 kB / 0.6877 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.5986, allocations: 0.503 MB / 0.6882 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.6012, allocations: 322.4 kB / 0.6885 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/0.6013, allocations: 6.078 kB / 0.6885 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.6027, allocations: 214.6 kB / 0.6887 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 5.54e-06/0.6034, allocations: 0 / 0.6887 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.003574/0.607, allocations: 460.1 kB / 0.6892 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.6071, allocations: 59.59 kB / 0.6892 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.6076, allocations: 211.2 kB / 0.6894 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.6077, allocations: 28.42 kB / 0.6894 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.6078, allocations: 126.7 kB / 0.6896 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/0.6079, allocations: 45.38 kB / 0.6896 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.608, allocations: 1.438 kB / 0.6896 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6081, allocations: 332.5 kB / 0.6899 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.6093, allocations: 143.7 kB / 0.6901 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.6105, allocations: 134.8 kB / 0.6902 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.6117, allocations: 187.3 kB / 0.6904 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.067e-06/0.6117, allocations: 0 / 0.6904 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002601/0.6144, allocations: 410.3 kB / 0.6908 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.6145, allocations: 162.8 kB / 0.6909 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.6145, allocations: 1.344 kB / 0.6909 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.6146, allocations: 0 / 0.6909 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/0.6266, allocations: 56.14 kB / 0.691 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6267, allocations: 5.562 kB / 0.691 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/0.6274, allocations: 55.02 kB / 0.691 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.6275, allocations: 5.391 kB / 0.691 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6276, allocations: 3.719 kB / 0.691 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00229/0.6299, allocations: 378.6 kB / 0.6914 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.749e-06/0.6299, allocations: 0 / 0.6914 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.942e-06/0.6299, allocations: 2.203 kB / 0.6914 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.6305, allocations: 50.42 kB / 0.6914 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.605e-06/0.6306, allocations: 1.688 kB / 0.6914 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.6313, allocations: 56.89 kB / 0.6915 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.6313, allocations: 4.516 kB / 0.6915 GB, free: 11.83 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.000285/0.6316, allocations: 216.4 kB / 0.6917 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.6317, allocations: 20.66 kB / 0.6917 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.6319, allocations: 24.5 kB / 0.6918 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.304e-06/0.6319, allocations: 2.984 kB / 0.6918 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.894e-06/0.6319, allocations: 0 / 0.6918 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6319, allocations: 1.688 kB / 0.6918 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.6325, allocations: 267.1 kB / 0.692 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.168e-06/0.6325, allocations: 4.688 kB / 0.692 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.6332, allocations: 63.02 kB / 0.6921 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.991e-06/0.6332, allocations: 4.844 kB / 0.6921 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.6333, allocations: 6.484 kB / 0.6921 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-06/0.6333, allocations: 1 kB / 0.6921 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.993e-06/0.6333, allocations: 0 / 0.6921 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.6447, allocations: 363.5 kB / 0.6924 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6449, allocations: 99.38 kB / 0.6925 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.645, allocations: 1.859 kB / 0.6925 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.6457, allocations: 53.5 kB / 0.6926 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.6459, allocations: 26.56 kB / 0.6926 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.646, allocations: 9.25 kB / 0.6926 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003096/0.6463, allocations: 149.1 kB / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.168e-06/0.6464, allocations: 0 / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00101/0.6474, allocations: 77.47 kB / 0.6928 GB, free: 10.97 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.0002006/0.6476, allocations: 104.2 kB / 0.6929 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003605/0.6512, allocations: 0.667 MB / 0.6936 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.592e-06/0.6513, allocations: 0 / 0.6936 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6525, allocations: 152.6 kB / 0.6937 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.653, allocations: 31.36 kB / 0.6938 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.6662, allocations: 391 kB / 0.6941 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.6666, allocations: 0.7344 MB / 0.6948 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004017/0.667, allocations: 22.19 kB / 0.6949 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.6672, allocations: 19.53 kB / 0.6949 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of SimCode: time 2.467e-06/0.6673, allocations: 0 / 0.6949 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of Templates: time 0.01369/0.681, allocations: 2.607 MB / 0.6974 GB, free: 8.75 MB / 0.5261 GB