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.009309/0.009315, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001126/0.001126, allocations: 180.2 kB / 15.95 MB, free: 5.523 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.928/1.928, allocations: 194.6 MB / 211.3 MB, free: 11.32 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.563/2.563, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004933, allocations: 12 kB / 0.5869 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6096/0.6102, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006685/0.6169, allocations: 4.973 MB / 0.6882 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.8091, allocations: 129.6 MB / 0.8148 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.8104, allocations: 23.88 kB / 0.8148 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.8109, allocations: 107 kB / 0.8149 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.8134, allocations: 0.631 MB / 0.8155 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.8168, allocations: 0.912 MB / 0.8164 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.8196, allocations: 1.409 MB / 0.8178 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.8209, allocations: 0.6628 MB / 0.8184 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.822, allocations: 0.5837 MB / 0.819 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009315/0.823, allocations: 0.556 MB / 0.8196 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.8232, allocations: 47.94 kB / 0.8196 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.8252, allocations: 0.6982 MB / 0.8203 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004895/0.8257, allocations: 294.8 kB / 0.8206 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.8262, allocations: 308.8 kB / 0.8209 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003225/0.8294, allocations: 1.907 MB / 0.8227 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.8295, allocations: 4 kB / 0.8227 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.945e-06/0.8295, allocations: 0 / 0.8227 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.013e-05/0.8295, allocations: 0 / 0.8227 GB, free: 15.32 MB / 0.6511 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.004021/0.8336, allocations: 1.838 MB / 0.8245 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8336, allocations: 12.02 kB / 0.8245 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.845, allocations: 1.098 MB / 0.8256 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.8476, allocations: 1.075 MB / 0.8267 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.8478, allocations: 98.59 kB / 0.8267 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.8481, allocations: 136 kB / 0.8269 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007625/0.8557, allocations: 1.908 MB / 0.8287 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.8558, allocations: 3.938 kB / 0.8287 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.856, allocations: 60 kB / 0.8288 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.8561, allocations: 35.98 kB / 0.8288 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/0.8684, allocations: 2.812 MB / 0.8316 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.8832, allocations: 4.989 MB / 0.8365 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/0.8983, allocations: 2.396 MB / 0.8388 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009357/0.8993, allocations: 0.4948 MB / 0.8393 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005938/0.9053, allocations: 1.211 MB / 0.8405 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=137): time 5.655e-06/0.9053, allocations: 0 / 0.8405 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=137): time 0.0309/0.9362, allocations: 3.127 MB / 0.8435 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002716/0.9366, allocations: 299.8 kB / 0.8438 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003269/0.9399, allocations: 0.9505 MB / 0.8447 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004868/0.9404, allocations: 53.7 kB / 0.8448 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009688/0.9414, allocations: 0.5361 MB / 0.8453 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.9424, allocations: 453.4 kB / 0.8457 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.9427, allocations: 28 kB / 0.8458 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002981/0.943, allocations: 353.9 kB / 0.8461 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009596/0.9526, allocations: 0.8104 MB / 0.8469 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005765/0.9584, allocations: 0.9933 MB / 0.8479 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/0.964, allocations: 0.9459 MB / 0.8488 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.9641, allocations: 4 kB / 0.8488 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.01272/0.9768, allocations: 2.373 MB / 0.8511 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.977, allocations: 118.7 kB / 0.8512 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.977, allocations: 8.188 kB / 0.8512 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.9783, allocations: 165.5 kB / 0.8514 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.9818, allocations: 459.3 kB / 0.8518 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.9872, allocations: 3.072 MB / 0.8548 GB, free: 13.41 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/0.9906, allocations: 298.6 kB / 0.8551 GB, free: 13.11 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/0.9909, allocations: 75.94 kB / 0.8552 GB, free: 13.04 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim1.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 143 * 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.001021/0.992, allocations: 373.5 kB / 0.8555 GB, free: 12.66 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/0.9924, allocations: 142.3 kB / 0.8557 GB, free: 12.52 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.006, allocations: 2.629 MB / 0.8582 GB, free: 9.875 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.006, allocations: 16 kB / 0.8583 GB, free: 9.859 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.006, allocations: 0 / 0.8583 GB, free: 9.859 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/1.006, allocations: 11.91 kB / 0.8583 GB, free: 9.848 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/1.009, allocations: 1.558 MB / 0.8598 GB, free: 8.242 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.009, allocations: 0 / 0.8598 GB, free: 8.242 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003485/1.013, allocations: 443.4 kB / 0.8602 GB, free: 7.809 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/1.014, allocations: 165.5 kB / 0.8604 GB, free: 7.641 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003099/1.015, allocations: 67.86 kB / 0.8604 GB, free: 7.574 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/1.02, allocations: 3.131 MB / 0.8635 GB, free: 4.164 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.196e-06/1.02, allocations: 3.953 kB / 0.8635 GB, free: 4.16 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.032, allocations: 2.258 MB / 0.8657 GB, free: 1.871 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.033, allocations: 0.5064 MB / 0.8662 GB, free: 1.344 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/1.033, allocations: 28 kB / 0.8662 GB, free: 1.316 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/1.037, allocations: 256.4 kB / 0.8665 GB, free: 1.066 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/1.037, allocations: 113.2 kB / 0.8666 GB, free: 0.957 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/1.037, allocations: 75.94 kB / 0.8666 GB, free: 0.8828 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.00141/1.039, allocations: 0.6676 MB / 0.8673 GB, free: 212 kB / 0.6824 GB Notification: Performance of sort global known variables: time 9.67e-07/1.039, allocations: 0 / 0.8673 GB, free: 212 kB / 0.6824 GB Notification: Performance of remove unused functions: time 0.002025/1.041, allocations: 498.9 kB / 0.8678 GB, free: 15.72 MB / 0.698 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.002906/1.044, allocations: 0.8605 MB / 0.8686 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.056, allocations: 2.396 MB / 0.871 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.97e-06/1.056, allocations: 3.906 kB / 0.871 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006182/1.062, allocations: 1.289 MB / 0.8722 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/1.064, allocations: 347 kB / 0.8725 GB, free: 10.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.077, allocations: 3.839 MB / 0.8763 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.078, allocations: 1.269 MB / 0.8775 GB, free: 5.805 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003668/1.082, allocations: 0.5754 MB / 0.8781 GB, free: 5.227 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/1.083, allocations: 203.3 kB / 0.8783 GB, free: 5.027 MB / 0.698 GB Notification: Performance of SimCode: time 1.639e-06/1.083, allocations: 0 / 0.8783 GB, free: 5.027 MB / 0.698 GB Notification: Performance of Templates: time 0.05924/1.142, allocations: 23.9 MB / 0.9016 GB, free: 13.39 MB / 0.7292 GB