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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01582/0.01582, allocations: 109.6 kB / 15.05 MB, free: 5.934 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.001866/0.001867, allocations: 183.7 kB / 15.94 MB, free: 5.898 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.149/2.149, allocations: 194.6 MB / 211.3 MB, free: 11.24 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.288/2.288, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.000506, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7211/0.7216, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.904/8.626, allocations: 2.459 GB / 3.143 GB, free: 213.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/8.626, allocations: 102.2 kB / 3.143 GB, free: 213.2 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 22.98/31.61, allocations: 4.04 GB / 7.183 GB, free: 74.58 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.976e-06/31.61, allocations: 0 / 7.183 GB, free: 74.58 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00573/31.61, allocations: 0.564 MB / 7.184 GB, free: 74.47 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4494 * Number of variables: 4494 Notification: Performance of Generate backend data structure: time 0.1062/31.72, allocations: 22.35 MB / 7.205 GB, free: 55.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/31.72, allocations: 8.031 kB / 7.205 GB, free: 55.69 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01285/31.73, allocations: 2.349 MB / 7.208 GB, free: 53.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03943/31.77, allocations: 4.034 MB / 7.212 GB, free: 49.28 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1379/31.91, allocations: 28.56 MB / 7.24 GB, free: 20.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00186/31.91, allocations: 1.252 MB / 7.241 GB, free: 19.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009989/31.92, allocations: 1.679 MB / 7.242 GB, free: 17.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8655/32.79, allocations: 25.16 MB / 7.267 GB, free: 72.46 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001968/32.79, allocations: 67.36 kB / 7.267 GB, free: 72.46 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009384/32.8, allocations: 0.7073 MB / 7.268 GB, free: 72.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/32.8, allocations: 0.8851 MB / 7.269 GB, free: 72.42 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1022/32.9, allocations: 22.81 MB / 7.291 GB, free: 72.28 MB / 0.8855 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.264/33.17, allocations: 98.54 MB / 7.387 GB, free: 53.54 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05765/33.22, allocations: 16.25 MB / 7.403 GB, free: 52.89 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004355/33.23, allocations: 2.031 MB / 7.405 GB, free: 50.91 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03082/33.26, allocations: 7.633 MB / 7.412 GB, free: 50.68 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=1031): time 1.688e-05/33.26, allocations: 0 / 7.412 GB, free: 50.68 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1031): time 0.08894/33.35, allocations: 20.35 MB / 7.432 GB, free: 49.46 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002898/33.35, allocations: 390.6 kB / 7.433 GB, free: 49.11 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05515/33.4, allocations: 17.34 MB / 7.45 GB, free: 48.29 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.003621/33.41, allocations: 226.9 kB / 7.45 GB, free: 48.26 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.01845/33.43, allocations: 9.734 MB / 7.459 GB, free: 42.16 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00882/33.43, allocations: 3.607 MB / 7.463 GB, free: 39.4 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004012/33.44, allocations: 262.6 kB / 7.463 GB, free: 39.2 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.001857/33.44, allocations: 0.8362 MB / 7.464 GB, free: 38.66 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03417/33.48, allocations: 6.983 MB / 7.471 GB, free: 36.34 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03124/33.51, allocations: 10.62 MB / 7.481 GB, free: 29.65 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03204/33.54, allocations: 9.012 MB / 7.49 GB, free: 26.26 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/33.54, allocations: 29.06 kB / 7.49 GB, free: 26.26 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1664) (initialization): time 0.08001/33.62, allocations: 19.84 MB / 7.509 GB, free: 19.42 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.03241/33.65, allocations: 71.96 MB / 7.58 GB, free: 24.2 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004157/33.65, allocations: 106.4 kB / 7.58 GB, free: 24.2 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/33.65, allocations: 185 kB / 7.58 GB, free: 24.2 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03316/33.69, allocations: 3.551 MB / 7.583 GB, free: 23.86 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004472/33.69, allocations: 244.3 kB / 7.584 GB, free: 23.81 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03655/33.72, allocations: 2.418 MB / 7.586 GB, free: 22.62 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004594/33.73, allocations: 0.6325 MB / 7.587 GB, free: 22.51 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/33.73, allocations: 3.844 kB / 7.587 GB, free: 22.51 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07302/33.8, allocations: 18.43 MB / 7.605 GB, free: 15.68 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004058/33.8, allocations: 104.2 kB / 7.605 GB, free: 15.68 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/33.8, allocations: 191.7 kB / 7.605 GB, free: 15.68 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03294/33.83, allocations: 3.552 MB / 7.608 GB, free: 15.32 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003996/33.83, allocations: 240.8 kB / 7.609 GB, free: 15.28 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04312/33.88, allocations: 2.163 MB / 7.611 GB, free: 14.27 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005448/33.88, allocations: 0.6399 MB / 7.611 GB, free: 14.16 MB / 0.9793 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * 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 (1660): * Single equations (assignments): 1657 * 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.0322/33.92, allocations: 7.622 MB / 7.619 GB, free: 11.01 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01171/33.93, allocations: 1.658 MB / 7.62 GB, free: 10.15 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1061/34.03, allocations: 16.53 MB / 7.636 GB, free: 376 kB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001334/34.03, allocations: 96 kB / 7.637 GB, free: 280 kB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/34.03, allocations: 3 kB / 7.637 GB, free: 280 kB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9846/35.02, allocations: 14.88 MB / 7.651 GB, free: 167.8 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1507/35.17, allocations: 37.87 MB / 7.688 GB, free: 166.2 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/35.17, allocations: 3.875 kB / 7.688 GB, free: 166.2 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02765/35.2, allocations: 2.497 MB / 7.69 GB, free: 166.2 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/35.2, allocations: 36.62 kB / 7.691 GB, free: 166.2 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003357/35.2, allocations: 338.4 kB / 7.691 GB, free: 166.2 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001337/35.2, allocations: 34.84 kB / 7.691 GB, free: 166.2 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/35.2, allocations: 0 / 7.691 GB, free: 166.2 MB / 0.9793 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09402/35.29, allocations: 24.19 MB / 7.715 GB, free: 165.3 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02083/35.31, allocations: 4.355 MB / 7.719 GB, free: 164.6 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009686/35.32, allocations: 230.7 kB / 7.719 GB, free: 164.6 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03088/35.36, allocations: 1.347 MB / 7.72 GB, free: 164.6 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003597/35.36, allocations: 0.5689 MB / 7.721 GB, free: 164.6 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003594/35.36, allocations: 388.1 kB / 7.721 GB, free: 164.6 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.04136/35.4, allocations: 13.62 MB / 7.735 GB, free: 164.1 MB / 0.9793 GB Notification: Performance of sort global known variables: time 7.91e-07/35.4, allocations: 0 / 7.735 GB, free: 164.1 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.05835/35.46, allocations: 10.72 MB / 7.745 GB, free: 163.4 MB / 0.9793 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 (1051): * Single equations (assignments): 1043 * 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.1007/35.56, allocations: 26.69 MB / 7.771 GB, free: 161 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.09237/35.66, allocations: 26.05 MB / 7.797 GB, free: 160.4 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-05/35.66, allocations: 10.31 kB / 7.797 GB, free: 160.4 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.02791/35.68, allocations: 7.212 MB / 7.804 GB, free: 160.3 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09084/35.77, allocations: 10.84 MB / 7.814 GB, free: 160.1 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2075/35.98, allocations: 147.8 MB / 7.958 GB, free: 45.57 MB / 0.9793 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03476/36.02, allocations: 13.19 MB / 7.971 GB, free: 36 MB / 0.9793 GB Notification: Performance of simCode: alias equations: time 0.07365/36.09, allocations: 11.17 MB / 7.982 GB, free: 28.29 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03413/36.13, allocations: 9.196 MB / 7.991 GB, free: 19.87 MB / 0.9793 GB Notification: Performance of SimCode: time 1.042e-06/36.13, allocations: 0 / 7.991 GB, free: 19.87 MB / 0.9793 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.888/39.01, allocations: 0.5095 GB / 8.501 GB, free: 160.2 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/39.01, allocations: 247.8 kB / 8.501 GB, free: 159.9 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.25/69.27, allocations: 0 / 8.501 GB, free: 159.9 MB / 1.011 GB