Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01545/0.01546, allocations: 107.4 kB / 15.06 MB, free: 5.559 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.001844/0.001843, allocations: 181.8 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 2.028/2.028, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.26/2.26, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005152, allocations: 12 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5818, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.0589/0.6407, allocations: 45.08 MB / 0.7274 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2514/0.8921, allocations: 142 MB / 0.866 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004594/0.8968, allocations: 71.5 kB / 0.8661 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.901, allocations: 0.8934 MB / 0.8669 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.9122, allocations: 2.715 MB / 0.8696 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01037/0.9226, allocations: 2.169 MB / 0.8717 GB, free: 13.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0778/1, allocations: 35.05 MB / 0.9059 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 1.145/2.145, allocations: 22.15 MB / 0.9276 GB, free: 8.172 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02631/2.171, allocations: 13.01 MB / 0.9403 GB, free: 8.164 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02126/2.193, allocations: 11.19 MB / 0.9512 GB, free: 8.121 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.005514/2.198, allocations: 0.8322 MB / 0.952 GB, free: 8.121 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/2.212, allocations: 1.8 MB / 0.9538 GB, free: 8.121 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.008232/2.22, allocations: 4.147 MB / 0.9578 GB, free: 8.121 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.01024/2.23, allocations: 4.859 MB / 0.9626 GB, free: 8.09 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.06719/2.298, allocations: 33.12 MB / 0.9949 GB, free: 0 / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 3.555e-06/2.298, allocations: 0 / 0.9949 GB, free: 0 / 0.7293 GB Notification: Performance of FrontEnd: time 4.818e-06/2.298, allocations: 64 / 0.9949 GB, free: 0 / 0.7293 GB Notification: Performance of Transformations before backend: time 0.00104/2.299, allocations: 4.047 kB / 0.9949 GB, free: 15.99 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4626 * Number of variables: 4626 Notification: Performance of Generate backend data structure: time 0.05918/2.358, allocations: 21.61 MB / 1.016 GB, free: 4.262 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/2.358, allocations: 7.156 kB / 1.016 GB, free: 4.262 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/2.387, allocations: 4.383 MB / 1.02 GB, free: 2.246 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06892/2.456, allocations: 23.42 MB / 1.043 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001628/2.457, allocations: 1.281 MB / 1.044 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00628/2.464, allocations: 1.719 MB / 1.046 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08502/2.549, allocations: 27.08 MB / 1.073 GB, free: 15.09 MB / 0.7918 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007931/2.549, allocations: 63.53 kB / 1.073 GB, free: 15.05 MB / 0.7918 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004983/2.554, allocations: 0.7324 MB / 1.073 GB, free: 14.88 MB / 0.7918 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001191/2.556, allocations: 0.8887 MB / 1.074 GB, free: 14.05 MB / 0.7918 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07354/2.629, allocations: 24.59 MB / 1.098 GB, free: 12.95 MB / 0.8074 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.249/2.878, allocations: 101.6 MB / 1.197 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04484/2.923, allocations: 16.51 MB / 1.214 GB, free: 3.367 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003706/2.927, allocations: 2.093 MB / 1.216 GB, free: 0.9492 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0245/2.951, allocations: 7.849 MB / 1.223 GB, free: 9.035 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=1031): time 2.149e-05/2.951, allocations: 3.281 kB / 1.223 GB, free: 9.035 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1031): time 0.06929/3.021, allocations: 20.76 MB / 1.244 GB, free: 4.168 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002806/3.021, allocations: 343.4 kB / 1.244 GB, free: 3.773 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07013/3.091, allocations: 18.56 MB / 1.262 GB, free: 1.309 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003418/3.095, allocations: 229.7 kB / 1.262 GB, free: 1.078 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.5419/3.637, allocations: 9.762 MB / 1.272 GB, free: 364.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006181/3.643, allocations: 3.605 MB / 1.275 GB, free: 362.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001998/3.645, allocations: 258.5 kB / 1.276 GB, free: 362.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001484/3.646, allocations: 0.8433 MB / 1.276 GB, free: 362 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02286/3.669, allocations: 7.027 MB / 1.283 GB, free: 360.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02497/3.694, allocations: 10.63 MB / 1.294 GB, free: 353.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02433/3.719, allocations: 9.057 MB / 1.302 GB, free: 350.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/3.719, allocations: 30.88 kB / 1.302 GB, free: 350.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=1665) (initialization): time 0.0604/3.779, allocations: 19.94 MB / 1.322 GB, free: 342.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01315/3.793, allocations: 72.24 MB / 1.393 GB, free: 267.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003916/3.793, allocations: 109.2 kB / 1.393 GB, free: 267.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/3.793, allocations: 190.4 kB / 1.393 GB, free: 267.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03267/3.826, allocations: 3.506 MB / 1.396 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005737/3.827, allocations: 247.5 kB / 1.396 GB, free: 266.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04378/3.87, allocations: 2.42 MB / 1.399 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005703/3.876, allocations: 0.6275 MB / 1.399 GB, free: 265.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/3.876, allocations: 3.938 kB / 1.399 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05838/3.935, allocations: 18.53 MB / 1.418 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002445/3.935, allocations: 109.1 kB / 1.418 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/3.935, allocations: 196.9 kB / 1.418 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02016/3.955, allocations: 3.5 MB / 1.421 GB, free: 258.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003706/3.956, allocations: 246.3 kB / 1.421 GB, free: 258 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02175/3.978, allocations: 2.194 MB / 1.424 GB, free: 256.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003331/3.981, allocations: 0.6325 MB / 1.424 GB, free: 255.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1661): * Single equations (assignments): 1658 * Array equations: 0 * Algorithm blocks: 3 * 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.01795/3.999, allocations: 7.669 MB / 1.432 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006398/4.005, allocations: 1.663 MB / 1.433 GB, free: 246.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04846/4.054, allocations: 16.81 MB / 1.45 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-05/4.054, allocations: 99.98 kB / 1.45 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.847e-05/4.054, allocations: 7.75 kB / 1.45 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0343/4.088, allocations: 13.29 MB / 1.463 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1013/4.19, allocations: 37.38 MB / 1.499 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.329e-05/4.19, allocations: 0 / 1.499 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01646/4.206, allocations: 2.446 MB / 1.502 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/4.206, allocations: 36 kB / 1.502 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002037/4.208, allocations: 335.7 kB / 1.502 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.924e-05/4.208, allocations: 32 kB / 1.502 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.651e-06/4.208, allocations: 8 kB / 1.502 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06115/4.27, allocations: 24.62 MB / 1.526 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0133/4.283, allocations: 4.336 MB / 1.53 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00624/4.289, allocations: 227.9 kB / 1.531 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01955/4.309, allocations: 1.445 MB / 1.532 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002244/4.311, allocations: 0.5775 MB / 1.533 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002487/4.314, allocations: 467.6 kB / 1.533 GB, free: 143.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02712/4.341, allocations: 13.18 MB / 1.546 GB, free: 130.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.83e-07/4.341, allocations: 4 kB / 1.546 GB, free: 130.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03932/4.38, allocations: 10.23 MB / 1.556 GB, free: 120.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 60 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1047): * Single equations (assignments): 1039 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006383/4.387, allocations: 1.616 MB / 1.557 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.07054/4.457, allocations: 26.25 MB / 1.583 GB, free: 92.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/4.457, allocations: 16.28 kB / 1.583 GB, free: 92.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01873/4.476, allocations: 7.311 MB / 1.59 GB, free: 85.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05252/4.529, allocations: 10.8 MB / 1.601 GB, free: 74.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1021/4.631, allocations: 52.83 MB / 1.652 GB, free: 21.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02575/4.657, allocations: 13.3 MB / 1.665 GB, free: 8.441 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.5618/5.218, allocations: 11.08 MB / 1.676 GB, free: 330.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01049/5.229, allocations: 1.593 MB / 1.678 GB, free: 330.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.163e-06/5.229, allocations: 3.844 kB / 1.678 GB, free: 330.6 MB / 0.948 GB Notification: Performance of Templates: time 1.294/6.523, allocations: 354.2 MB / 2.024 GB, free: 330.3 MB / 0.948 GB