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.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01051/0.01051, allocations: 222.5 kB / 15.17 MB, free: 6.008 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.001078/0.001078, allocations: 184.5 kB / 16.07 MB, free: 5.859 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.587/3.587, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.72/3.72, allocations: 472.3 MB / 0.9018 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005497/0.0005499, allocations: 12.5 kB / 1.008 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1266, allocations: 98.73 MB / 1.104 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.02662/0.1532, allocations: 27.66 MB / 1.131 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.6238/0.7771, allocations: 144.6 MB / 1.272 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.7794, allocations: 40.81 kB / 1.272 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.7811, allocations: 490.5 kB / 1.273 GB, free: 14.31 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006381/0.7875, allocations: 1.604 MB / 1.274 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005897/0.7934, allocations: 1.463 MB / 1.276 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.04359/0.837, allocations: 36.42 MB / 1.311 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02008/0.8571, allocations: 11.39 MB / 1.322 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01588/0.873, allocations: 7.628 MB / 1.33 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01559/0.8887, allocations: 8.117 MB / 1.338 GB, free: 9.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002366/0.8911, allocations: 440 kB / 1.338 GB, free: 8.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007515/0.8986, allocations: 1.151 MB / 1.339 GB, free: 7.648 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004763/0.9034, allocations: 2.244 MB / 1.342 GB, free: 5.395 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005846/0.9093, allocations: 2.513 MB / 1.344 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02344/0.9328, allocations: 16.31 MB / 1.36 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.079e-06/0.9328, allocations: 0 / 1.36 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.371e-06/0.9329, allocations: 0 / 1.36 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003981/0.9333, allocations: 0 / 1.36 GB, free: 2.539 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2393 * Number of variables: 2393 Notification: Performance of Generate backend data structure: time 0.02937/0.9626, allocations: 11.38 MB / 1.371 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.9627, allocations: 11.97 kB / 1.371 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/0.9775, allocations: 2.341 MB / 1.373 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03652/1.014, allocations: 13.82 MB / 1.387 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000837/1.015, allocations: 0.6638 MB / 1.387 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002761/1.018, allocations: 0.8981 MB / 1.388 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03626/1.054, allocations: 14 MB / 1.402 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002685/1.054, allocations: 31.72 kB / 1.402 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/1.056, allocations: 392 kB / 1.402 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005719/1.056, allocations: 472.7 kB / 1.403 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03606/1.092, allocations: 12.85 MB / 1.415 GB, free: 9 MB / 0.7761 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.09555/1.188, allocations: 50.76 MB / 1.465 GB, free: 4.137 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9368/2.125, allocations: 8.303 MB / 1.473 GB, free: 255.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0106/2.135, allocations: 4.504 MB / 1.478 GB, free: 254.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002293/2.138, allocations: 1.564 MB / 1.479 GB, free: 252.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01118/2.149, allocations: 4.182 MB / 1.483 GB, free: 251.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=551): time 1.327e-05/2.149, allocations: 0 / 1.483 GB, free: 251.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=551): time 0.02935/2.178, allocations: 10.96 MB / 1.494 GB, free: 248 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/2.179, allocations: 266.5 kB / 1.494 GB, free: 247.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/2.193, allocations: 8.381 MB / 1.502 GB, free: 245 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/2.194, allocations: 137.7 kB / 1.502 GB, free: 244.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004716/2.199, allocations: 4.963 MB / 1.507 GB, free: 241.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002301/2.201, allocations: 1.917 MB / 1.509 GB, free: 240.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006384/2.202, allocations: 138.8 kB / 1.509 GB, free: 240.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.00042/2.202, allocations: 0.5852 MB / 1.51 GB, free: 239.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008961/2.211, allocations: 3.697 MB / 1.513 GB, free: 238.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/2.222, allocations: 5.56 MB / 1.519 GB, free: 235.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/2.235, allocations: 4.765 MB / 1.524 GB, free: 233.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.948e-05/2.235, allocations: 19.28 kB / 1.524 GB, free: 233.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=882) (initialization): time 0.02947/2.264, allocations: 10.53 MB / 1.534 GB, free: 229.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000889/2.265, allocations: 1.811 MB / 1.536 GB, free: 227 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.833e-05/2.265, allocations: 54.97 kB / 1.536 GB, free: 227 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/2.265, allocations: 96.28 kB / 1.536 GB, free: 227 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009868/2.275, allocations: 1.74 MB / 1.537 GB, free: 226.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001622/2.276, allocations: 124.9 kB / 1.538 GB, free: 226.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009408/2.285, allocations: 1.044 MB / 1.539 GB, free: 226.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008238/2.286, allocations: 340.9 kB / 1.539 GB, free: 226.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/2.286, allocations: 3.469 kB / 1.539 GB, free: 226.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0229/2.309, allocations: 9.802 MB / 1.548 GB, free: 222.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.472e-05/2.309, allocations: 56.53 kB / 1.549 GB, free: 222.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-05/2.309, allocations: 93.09 kB / 1.549 GB, free: 222.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009786/2.319, allocations: 1.74 MB / 1.55 GB, free: 222.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/2.319, allocations: 118.6 kB / 1.55 GB, free: 222.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009875/2.329, allocations: 0.949 MB / 1.551 GB, free: 222.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008485/2.33, allocations: 342.2 kB / 1.552 GB, free: 222.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 13 ($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,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 (878): * Single equations (assignments): 875 * 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.007585/2.337, allocations: 3.995 MB / 1.556 GB, free: 220 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/2.339, allocations: 0.8666 MB / 1.556 GB, free: 219.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/2.362, allocations: 8.943 MB / 1.565 GB, free: 210.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.512e-05/2.362, allocations: 59.95 kB / 1.565 GB, free: 210.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/2.362, allocations: 0 / 1.565 GB, free: 210.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01801/2.38, allocations: 7.053 MB / 1.572 GB, free: 203.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04023/2.42, allocations: 18.86 MB / 1.591 GB, free: 184.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/2.42, allocations: 4 kB / 1.591 GB, free: 184.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007661/2.428, allocations: 1.359 MB / 1.592 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.968e-05/2.428, allocations: 19.98 kB / 1.592 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005572/2.429, allocations: 179.8 kB / 1.592 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.832e-05/2.429, allocations: 19.44 kB / 1.592 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.293e-06/2.429, allocations: 4 kB / 1.592 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02839/2.457, allocations: 12.87 MB / 1.605 GB, free: 170 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005603/2.463, allocations: 1.969 MB / 1.607 GB, free: 168 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001798/2.465, allocations: 120 kB / 1.607 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007844/2.472, allocations: 0.7029 MB / 1.607 GB, free: 167.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007605/2.473, allocations: 319.9 kB / 1.608 GB, free: 167 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007329/2.474, allocations: 251.8 kB / 1.608 GB, free: 166.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01085/2.485, allocations: 5.85 MB / 1.614 GB, free: 160.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-06/2.485, allocations: 0 / 1.614 GB, free: 160.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01634/2.501, allocations: 5.14 MB / 1.619 GB, free: 155.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 30 (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) * 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 (563): * Single equations (assignments): 557 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004347/2.506, allocations: 1.308 MB / 1.62 GB, free: 155 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0301/2.536, allocations: 13.96 MB / 1.634 GB, free: 141.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/2.536, allocations: 6.656 kB / 1.634 GB, free: 141 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008507/2.544, allocations: 3.849 MB / 1.637 GB, free: 137.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02548/2.57, allocations: 5.541 MB / 1.643 GB, free: 131.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04433/2.614, allocations: 27.19 MB / 1.669 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007854/2.622, allocations: 7.134 MB / 1.676 GB, free: 97.42 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.02318/2.645, allocations: 5.736 MB / 1.682 GB, free: 91.68 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003401/2.649, allocations: 0.792 MB / 1.683 GB, free: 90.88 MB / 0.823 GB Notification: Performance of SimCode: time 2.849e-06/2.649, allocations: 0 / 1.683 GB, free: 90.88 MB / 0.823 GB Notification: Performance of Templates: time 0.8392/3.488, allocations: 182.9 MB / 1.861 GB, free: 217.2 MB / 0.8387 GB