Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01048/0.01048, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001105/0.001105, allocations: 176 kB / 16.06 MB, free: 5.832 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 3.596/3.596, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.333/4.333, allocations: 472.3 MB / 0.9018 GB, free: 13.42 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 16 kB / 1.008 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5651, allocations: 98.73 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006809/0.5719, allocations: 5.148 MB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.7499, allocations: 138.8 MB / 1.245 GB, free: 40.24 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.7511, allocations: 20.5 kB / 1.245 GB, free: 40.22 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.7518, allocations: 114.9 kB / 1.245 GB, free: 40.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.7542, allocations: 0.556 MB / 1.245 GB, free: 39.55 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.7573, allocations: 0.9164 MB / 1.246 GB, free: 38.65 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.7598, allocations: 1.988 MB / 1.248 GB, free: 36.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.7615, allocations: 0.6687 MB / 1.249 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.7631, allocations: 0.5601 MB / 1.249 GB, free: 35.46 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.765, allocations: 0.6183 MB / 1.25 GB, free: 34.84 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004333/0.7655, allocations: 44 kB / 1.25 GB, free: 34.8 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.7684, allocations: 0.7253 MB / 1.251 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007355/0.7692, allocations: 303.3 kB / 1.251 GB, free: 33.77 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007185/0.7699, allocations: 304.8 kB / 1.251 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00435/0.7743, allocations: 1.899 MB / 1.253 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.7744, allocations: 4 kB / 1.253 GB, free: 31.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.688e-06/0.7744, allocations: 4 kB / 1.253 GB, free: 31.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.993e-05/0.7744, allocations: 3.938 kB / 1.253 GB, free: 31.55 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.005972/0.7804, allocations: 1.83 MB / 1.255 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.7805, allocations: 8.031 kB / 1.255 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/0.8018, allocations: 1.09 MB / 1.256 GB, free: 28.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.8057, allocations: 1.071 MB / 1.257 GB, free: 27.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.8059, allocations: 98.59 kB / 1.257 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/0.8063, allocations: 132 kB / 1.257 GB, free: 27.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.8169, allocations: 1.919 MB / 1.259 GB, free: 25.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.979e-05/0.817, allocations: 7.922 kB / 1.259 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/0.8175, allocations: 60 kB / 1.259 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.8175, allocations: 32 kB / 1.259 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/0.8303, allocations: 2.808 MB / 1.262 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.8432, allocations: 5 MB / 1.267 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.8562, allocations: 2.388 MB / 1.269 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004719/0.861, allocations: 0.8863 MB / 1.27 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007092/0.8617, allocations: 0.4909 MB / 1.271 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005217/0.867, allocations: 1.205 MB / 1.272 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 5.034e-06/0.867, allocations: 0 / 1.272 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.01663/0.8837, allocations: 3.135 MB / 1.275 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.8838, allocations: 299.8 kB / 1.275 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.8853, allocations: 0.9461 MB / 1.276 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.8856, allocations: 54.48 kB / 1.276 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.886, allocations: 0.5322 MB / 1.277 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004134/0.8864, allocations: 453.4 kB / 1.277 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.8865, allocations: 31.94 kB / 1.277 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.8867, allocations: 361.9 kB / 1.277 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/0.8913, allocations: 0.843 MB / 1.278 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00494/0.8962, allocations: 1.043 MB / 1.279 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/0.901, allocations: 0.9733 MB / 1.28 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-06/0.901, allocations: 0 / 1.28 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0116/0.9126, allocations: 2.481 MB / 1.283 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.9127, allocations: 114.8 kB / 1.283 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.9127, allocations: 0 / 1.283 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.914, allocations: 165.5 kB / 1.283 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4508/1.365, allocations: 473.2 kB / 1.283 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/1.369, allocations: 3.056 MB / 1.286 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/1.372, allocations: 299.3 kB / 1.287 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003711/1.373, allocations: 84.19 kB / 1.287 GB, free: 172.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim1.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTim1.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001042/1.374, allocations: 379.4 kB / 1.287 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/1.374, allocations: 137.4 kB / 1.287 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.387, allocations: 2.635 MB / 1.29 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.4e-05/1.387, allocations: 15.47 kB / 1.29 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.387, allocations: 5.188 kB / 1.29 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/1.387, allocations: 6 kB / 1.29 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/1.39, allocations: 1.547 MB / 1.291 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.39, allocations: 5.828 kB / 1.291 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003828/1.394, allocations: 439 kB / 1.292 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/1.395, allocations: 172 kB / 1.292 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002901/1.395, allocations: 58.08 kB / 1.292 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004303/1.4, allocations: 3.104 MB / 1.295 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.421e-06/1.4, allocations: 3.953 kB / 1.295 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/1.413, allocations: 2.237 MB / 1.297 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.414, allocations: 0.5068 MB / 1.298 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.414, allocations: 34.75 kB / 1.298 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/1.417, allocations: 274.4 kB / 1.298 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.418, allocations: 105.2 kB / 1.298 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.418, allocations: 75.53 kB / 1.298 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001237/1.419, allocations: 0.6536 MB / 1.299 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.81e-07/1.419, allocations: 0.8438 kB / 1.299 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002014/1.421, allocations: 0.4983 MB / 1.299 GB, free: 166.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTim1.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim.tNext,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 145 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002831/1.424, allocations: 0.8398 MB / 1.3 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.436, allocations: 2.471 MB / 1.302 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.758e-06/1.436, allocations: 0.75 kB / 1.302 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006468/1.442, allocations: 1.286 MB / 1.304 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.445, allocations: 367.9 kB / 1.304 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.456, allocations: 3.861 MB / 1.308 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/1.457, allocations: 1.279 MB / 1.309 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00351/1.461, allocations: 0.5702 MB / 1.31 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/1.462, allocations: 201.2 kB / 1.31 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.555e-06/1.462, allocations: 0 / 1.31 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.04924/1.511, allocations: 23.88 MB / 1.333 GB, free: 136.1 MB / 0.6823 GB